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

[PyArrow] Fix bug in timestamp pushdown #9377

Merged
merged 1 commit into from Oct 17, 2023

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Oct 17, 2023

This PR fixes #9371

In #8856 we introduced a fix for pushed down timestamp filters, turns out this wasn't working 100% correctly.
Projections weren't being respected, we did not have enough information to retrieve the right ArrowType from the table for the corresponding filter.

This resulted in using the wrong type, which has an invalid datetimetype - which resulted in the error in the linked issue

…owType from the table for the corresponding Filter
@Mytherin Mytherin merged commit 5ec85a7 into duckdb:main Oct 17, 2023
43 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

1 similar comment
@Mytherin
Copy link
Collaborator

Thanks!

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.

SQL query filter not working with pyarrow dataset with timestamp index
2 participants