scan_delta throws SchemaError on datetime column since 1.14 version #20806
Labels
A-io-delta
Area: reading/writing Delta tables
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
I systematically get the error as I try to scan the table (that is partionned), there is no issue with the table itself as I am able to access it with pyspark but wanted to give polars a try.
I have tried different flavors of casting my column to "appropriate" datetime format (eg. .cast(pl.Datetime("ns", "UTC"))) but nothing seem to work. TBN the issue appears on all my datetime column, it is not specific to the one I was interested initially.
From my testing (and confirmed by other collegues), the issue starts with polars 1.14.0 as previous version don't raise the SchemaError.
Expected behavior
The scan_delta function should run without issues, as it did in versions prior to 1.14.0
Installed versions
The text was updated successfully, but these errors were encountered: