You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PostgreSQL compatibility: regexp_instr with an empty pattern should return 1 #22257
I’m taking a look at this one. I’m going to verify the current regexp_instr empty-pattern behavior locally and, if it stays narrowly scoped, send a small fix with tests.
Activity
toby-bridges commentedon May 17, 2026
I’m taking a look at this one. I’m going to verify the current regexp_instr empty-pattern behavior locally and, if it stays narrowly scoped, send a small fix with tests.
Jefffrey commentedon May 26, 2026
I think it makes sense to implement this fix given the original PR was using postgres as a reference:
And Spark seems to agree
fix: handle empty patterns in regexp_instr (apache#24054)
fix: handle empty patterns in regexp_instr (apache#24054)