Parquet reader crashes with "range end index 16 out of range for slice" error #15020
Closed
2 tasks done
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
rust
Related to Rust Polars
Checks
Reproducible example
where
wikipedia-train.parquet
is produced by downloadingwikipedia-train.arrow
from https://huggingface.co/datasets/wikipedia and running the following python code:Log output
Issue description
Parquet reader tries to read
n
items fromself.chunks_fifo
, while less thenn
items is available. This causes a panic.Documentation for VecDeque mentions that it panics "if the end point is greater than the length of the deque", which seems to be the problem here.
Expected behavior
No panic
Installed versions
The text was updated successfully, but these errors were encountered: