Inconsistency between pl.all_horizontal() and pl.Expr.and_() when reading parquet written by LazyFrame.sink_parquet() #21204
Labels
A-io-parquet
Area: reading/writing Parquet files
accepted
Ready for implementation
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Logically, filtering using
pl.all_horizontal(*exprs)
and the uglierpl.lit(True).and_(*exprs)
should produce the same result.After much debugging, I've discovered that they are not, specifically in the case where the underlying data is a LazyFrame, specifically one scanned from a parquet previously written using
pl.sink_parquet()
.Expected behavior
The behavior for all four cases should be the same.
Installed versions
The text was updated successfully, but these errors were encountered: