New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-14389: [C++][Gandiva] Fix performance bug with LIKE expressions #11471
ARROW-14389: [C++][Gandiva] Fix performance bug with LIKE expressions #11471
Conversation
|
I could fix the REGEX for the is_substr matching, but I'm still trying to figure out the right REGEX for both starts_with and ends_with matching so then can also accept reserved characters. |
There are some failing tests. Did you get a chance to look at them? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also measure the performance of the modified implementation?
@pravindra Can you review this change? |
ac4888b
to
75f277f
Compare
75f277f
to
a653fd9
Compare
936bddf
to
97e8cea
Compare
97e8cea
to
b27b6cb
Compare
b27b6cb
to
bc72d4d
Compare
9cab935
to
d39c27e
Compare
29f68f6
to
a6987e7
Compare
This reverts commit d16d67e.
a6987e7
to
38980ca
Compare
Benchmark runs are scheduled for baseline = adfb913 and contender = bf0ee3f. bf0ee3f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
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. Closes apache#11471 from jvictorhuguenin/feature/fix-performance-like-expr-bug Authored-by: jvictorhuguenin <j.victorhuguenin2018@gmail.com> Signed-off-by: Pindikura Ravindra <ravindra@dremio.com>
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.