[
https://issues.apache.org/jira/browse/ARROW-14389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-14389:
-----------------------------------
Labels: pull-request-available (was: )
> [C++][Gandiva] Fix performance bug with LIKE expressions with reserved
> characters
> ---------------------------------------------------------------------------------
>
> Key: ARROW-14389
> URL: https://issues.apache.org/jira/browse/ARROW-14389
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++ - Gandiva
> Reporter: João Victor Huguenin
> Assignee: João Victor Huguenin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Seeing dramatic differences in Gandiva processing time during filter
> operations for queries with a LIKE filter on a character field with a
> reserved character (-,/& etc). The version with a reserved character in the
> string is considerably slower than a similar filter without a reserved
> character. For patterns like %abc% and %ab-c%, the latter wasn't being
> optimized to become an is_substr expression because of the regex used to
> identify those cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)