apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.37k stars 1.2k forks source link

regexpcount caches regex on a wrong key #13413

Closed Dimchikkk closed 1 week ago

Dimchikkk commented 1 week ago

Describe the bug

regexpcount caches regex on a raw regex string rather than on the regex pattern (including flags) as other regexp functions

To Reproduce

No response

Expected behavior

No response

Additional context

No response