Split out from #22247.
Mismatch
regexp_instr with an empty pattern should return 1.
SELECT regexp_instr('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_instrwith an empty pattern should return 1.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.