-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Filters not being pushed down to pyarrow dataset #16248
Comments
Looking at the source code it seems like this should be handled:
|
What do you see when you do df.explain() on the polars plan |
(by the way it's a self contained example, no external data, you can run it and play with it) |
Maybe the feature flags are just missing, I can't see them in the Python cargo.toml. Neither in the polars crate cargo.toml can I see polars-plan/dtype-datetime |
Isn’t this it? Line 54 in 467b885
|
I only see it through here: polars/crates/polars-lazy/Cargo.toml Lines 60 to 61 in 467b885
|
I guess the easiest thing to do is to compile with a panic in there and see if it's even being hit. |
@adriangb I found a couple issues:
|
datetime fails because LHS is hitting a Cast as well |
Thank you for the investigation @ion-elgreco! Would you like to work on this or should I tag previous committers of |
Checks
Reproducible example
Log output
No response
Issue description
The integer filter is pushed down correctly but the datetime/timestamp filter is not (polars attempts to read the file).
Expected behavior
The datetime filter is pushed down.
Installed versions
The text was updated successfully, but these errors were encountered: