polars.scan_delta(..).filter(..).collect()
fails for some datasets
#20361
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Unfortunately, we were not able to produce a reproducible example.
Log output
Issue description
On one of our Delta Tables, calling
pl.scan_delta(..).filter(..).collect()
fails with the pastedPanicException
.Taking a look at
crates/polars-io/src/parquet/read/predicates.rs:28:64
mentioned in the exception,the case where
md.columns_under_root_iter(&field.name)
returnsNone
is not handled correctly.Handling it the same as when
iter.len() == 0
fixed the problem for us.Expected behavior
DataFrame is computed without exception.
Installed versions
The text was updated successfully, but these errors were encountered: