Index out of bounds panic caused by specific combination of window functions #17049
Closed
2 tasks done
Labels
A-panic
Area: code that results in panic exceptions
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
After performing a specific combination of window functions on a dataframe, an error is thrown when filtering that dataframe by any column. Calling "DataFrame.rechunk()" before doing the last filter fixes the issue.
This started happening since version of 0.20.22. Happens on both "polars" and "polars-lts-cpu" libraries.
May be irrelevant: If you inspect "n_chunks" of columns before the last filter, you'll notice that the latest columns only have 1 chunk, while the dataframe says it has >1 chunk.
Expected behavior
The error is not thrown.
Installed versions
The text was updated successfully, but these errors were encountered: