Polars lazy mode bug and panic resolving columns properly #17427
Labels
accepted
Ready for implementation
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Polars lazy mode struggles/bugs resolving columns properly with schema especially when using combination of rename/drop.
The code works in non lazy mode.
The code also works when using
df = df.cast(df.collect_schema())
at some point before the final LoCEverything is in the code.
Data is written to parquet and scanned since this is where the original data is scanned from in our case.
Expected behavior
Lazy mode should be able to resolve columns properly.
Installed versions
The text was updated successfully, but these errors were encountered: