alamb commented on code in PR #13414: URL: https://github.com/apache/datafusion/pull/13414#discussion_r1842900042
########## datafusion/functions/src/regex/regexpcount.rs: ########## @@ -548,16 +549,22 @@ where } } -fn compile_and_cache_regex<'a>( - regex: &'a str, - flags: Option<&'a str>, - regex_cache: &'a mut HashMap<String, Regex>, -) -> Result<&'a Regex, ArrowError> { - if !regex_cache.contains_key(regex) { Review Comment: the bug is that this check doesn't include the flags, is that correct? -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org