forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-18235: [C++][Gandiva] Fix the like function implementation for …
…escape chars (apache#14579) The current implementation of optimisation for like function does a removal of the escape char, this causes errors in matching if the escape char is one of the pcre special chars or if the escape char is followed by itself. Fix this by only removing the '\\' escape char during optimisation. Authored-by: Siddhant Rao <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
- Loading branch information
1 parent
c3c98b8
commit c39b8a6
Showing
3 changed files
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters