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

Pruning on binary partition columns not supported with Datafusion #1214

Open
Blajda opened this issue Mar 10, 2023 · 0 comments
Open

Pruning on binary partition columns not supported with Datafusion #1214

Blajda opened this issue Mar 10, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Blajda
Copy link
Collaborator

Blajda commented Mar 10, 2023

Environment

Delta-rs version: main

Binding: rust, datafusion


Bug

What happened:
Datafusion uses min and max statistics to perform pruning. For partition columns we set the min and max equal to the partition value. The binary type does not support a natural order so operators such as <= and >= do not work.

What you expected to happen:
When pruning for binary partition we should just be able to use the equality operator = or !=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants