Split out from #22247.
Mismatch
regexp_count should count empty-pattern matches.
SELECT regexp_count('abc', '');
PostgreSQL:
DataFusion:
Expected behavior
For PostgreSQL-compatible SQL semantics, DataFusion should either match PostgreSQL's result or raise the same class of domain/semantic error.
Split out from #22247.
Mismatch
regexp_countshould count empty-pattern matches.PostgreSQL:
DataFusion:
Expected behavior
For PostgreSQL-compatible SQL semantics, DataFusion should either match PostgreSQL's result or raise the same class of domain/semantic error.