-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support pruning on string columns using LIKE #507
Comments
Thanks for the idea. We are close to implementing this in #12978. It adds support for pushing down |
@alamb I think we should re-open this for |
Thanks @adriangb -- I changed this ticket to refer to |
Filed the following ticket to support |
I think we also need follow up tickets for:
|
Sounds good -- can you please file them (and the more hints you leave in the ticket the more likely it is for someone else to be able to do it)? |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
From looking at the pruning logic, it appears that we can prune inputs based on
col = 'string_value'
, but we can't prune oncol LIKE 'value%'
.We should be able to support
LIKE
andNOT LIKE
.Describe the solution you'd like
Extend the pruning logic to generate a pruning filter for
LIKE
andNOT LIKE
.Describe alternatives you've considered
None
Additional context
Spark will push down a
LIKE
filter if it can be converted to astarts_with
, normally by checking if the string doesn't start with%
.The text was updated successfully, but these errors were encountered: