Comments (7)
Looking at the source code it seems like this should be handled:
. I'm not familiar enough with the polars codebase to diagnose further.from polars.
What do you see when you do df.explain() on the polars plan
from polars.
FILTER [(col("a").cast(Datetime(Microseconds, Some("UTC")))) == (2024-01-01 00:00:00.dt.replace_time_zone([String(earliest)]))] FROM
PYTHON SCAN
PROJECT */1 COLUMNS
(by the way it's a self contained example, no external data, you can run it and play with it)
from polars.
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
from polars.
Isn’t this it?
Line 54 in 467b885
from polars.
I only see it through here:
polars/crates/polars-lazy/Cargo.toml
Lines 60 to 61 in 467b885
from polars.
I guess the easiest thing to do is to compile with a panic in there and see if it's even being hit.
from polars.
Related Issues (20)
- Use more appropriate error variants in various places across the API HOT 2
- Change `DataFrame.write_parquet(write_statistics)` to a more granular type
- LazyFrame.schema fails with "Option::unwrap()` on a `None` value" HOT 6
- Schema of `LazyFrame.with_context` does not match result of collect HOT 2
- Following a selector with .exclude() is not considered a selector HOT 6
- predicate pushdown with `pl.Expr.cut`
- `.list.to_struct()` has non-deterministic behavior HOT 5
- Add `Expr.list.map_elements(func)` to perform a custom function on every element in a list HOT 2
- pl.from_pandas(..., nan_to_null=True) does not convert NaN to Null HOT 3
- Example of `.over()` 900x slower than group_by.agg.join (and over 50x slower than pandas) HOT 6
- Non-deterministic failure when materializing LazyFrame
- LazyFrame - Unnested columns are missing in Lazy Frame HOT 5
- Add section about using `pipe` to the user guide HOT 1
- Regression: `list.sum()` inside WhenThen now returns a list HOT 1
- In pl.Series, nan_to_null parameter not respected with floats HOT 1
- When reading excel table data, you are advised to freely select the column name or column number to read data HOT 2
- When reading excel table data, allow selection of the column names/indices to read HOT 2
- Incorrect `ColumnNotFound` panic, which occurs only for LazyFrames HOT 2
- search_sorted does not work on boolean columns
- PanicException creating DataFrame with numpy array inside dict HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polars.