toby-bridges opened a new pull request, #22312:
URL: https://github.com/apache/datafusion/pull/22312
## Summary
- stop short-circuiting `regexp_count` when the pattern is an empty string
- preserve `NULL` regex handling for scalar inputs while allowing empty
patterns to flow through the normal regex counting path
- add a scalar regression test and a sqllogictest case for `SELECT
regexp_count('abc', '')`
Fixes #22267.
## Testing
- `cargo test -p datafusion-functions regexp_count`
- `cargo test -p datafusion-sqllogictest --test sqllogictests --
regexp_count.slt`
- `cargo fmt --all --check`
- `git diff --check`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]