Skip to content
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

Add support for OR to interval arithmetic #7883

Closed
Tracked by #7882
alamb opened this issue Oct 20, 2023 · 0 comments · Fixed by #8276
Closed
Tracked by #7882

Add support for OR to interval arithmetic #7883

alamb opened this issue Oct 20, 2023 · 0 comments · Fixed by #8276
Labels
enhancement New feature or request

Comments

@alamb
Copy link
Contributor

alamb commented Oct 20, 2023

Is your feature request related to a problem or challenge?

I am trying to use the interval analysis when applying bloom filters (#7821) to parquet files (as a first step towards eventually using them for all predicate pruning).

However, at the moment interval analysis does not support OR, so expressions like false OR false can not be simplfied

Describe the solution you'd like

Implement Operator::OR in apply_operator:

https://github.com/apache/arrow-datafusion/blob/608ce37f76627b7692fe9d5ca73df8efe88d75b4/datafusion/physical-expr/src/intervals/interval_aritmetic.rs#L759

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant