Skip to content

fix(iceberg-datafusion): handle timestamp predicates from DF #1569

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

colinmarc
Copy link
Contributor

DataFusion sometimes passes dates as string literals, but can also pass timestamp ScalarValues, which need to be converted to predicates correctly in order to enable partition pruning.

@colinmarc colinmarc force-pushed the df-timestamps branch 3 times, most recently from 4c291c7 to 0a16745 Compare July 31, 2025 13:40
@colinmarc
Copy link
Contributor Author

The test failure seems unrelated.

@colinmarc colinmarc force-pushed the df-timestamps branch 4 times, most recently from a9ed950 to 7629743 Compare August 1, 2025 14:13
DataFusion sometimes passes dates as string literals, but can also pass
timestamp ScalarValues, which need to be converted to predicates
correctly in order to enable partition pruning.
This helps with predicate expressions such as `date > DATE_TRUNC('day',
ts)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant