You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "itschrispeck (via GitHub)" <gi...@apache.org> on 2023/09/21 03:55:42 UTC

[GitHub] [pinot] itschrispeck commented on issue #11618: regexp_like using wildcard prefix/suffix without anchors is unoptimized

itschrispeck commented on issue #11618:
URL: https://github.com/apache/pinot/issues/11618#issuecomment-1728727295

   I'll take a closer look soon. It had looked like `java.util.regex` doesn't handle this case well, so the fix would be rather inelegant in that we sanitize the input prior to creating the Pattern/Matcher. For the two performant versions java's regex library short circuits to do a Boyer-Moore string search


-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org