Panic occurring when using streaming and limit with Parquet #18181
Labels
A-io-cloud
Area: reading/writing to cloud storage
A-io-parquet
Area: reading/writing Parquet files
accepted
Ready for implementation
bug
Something isn't working
P-high
Priority: high
python
Related to Python Polars
regression
Issue introduced by a new release
Checks
Reproducible example
s3_path = Path in S3 to multiple parquets`
Log output
Issue description
I believe the issue is that Polars is defaulting to
init_next_reader_sync
while it should be doingasync
reading.I believe the more of this if statement is causing the problems https://github.com/pola-rs/polars/blob/main/crates/polars-pipe/src/executors/sources/parquet.rs#L273
It should be reverted to this
polars/crates/polars-pipe/src/executors/sources/parquet.rs
Lines 251 to 275 in d76609a
Expected behavior
Should read the parquets and limit to 1 row
Installed versions
The text was updated successfully, but these errors were encountered: