import polars as pl
pl.read_parquet("100x100.parquet")
Log output
thread 'polars-4' panicked at crates/polars-parquet/src/parquet/read/compression.rs:222:17:
Found compressed page in the middle of the pages
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'polars-9' panicked at crates/polars-parquet/src/parquet/read/compression.rs:222:17:
Found compressed page in the middle of the pages
thread 'polars-3' panicked at crates/polars-parquet/src/parquet/read/compression.rs:222:17:
Found compressed page in the middle of the pages
thread 'polars-0' panicked at crates/polars-parquet/src/parquet/read/compression.rs:222:17:
Found compressed page in the middle of the pages
thread 'polars-5' panicked at crates/polars-parquet/src/parquet/read/compression.rs:222:17:
Found compressed page in the middle of the pages
Traceback (most recent call last):
File "/Users/kylemcentush/Documents/code/observables/.venv/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3577, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-6-5520d71e7571>", line 1, in <module>
a = pl.read_parquet("/Users/kylemcentush/Downloads/100x100.parquet")
File "/Users/kylemcentush/Documents/code/observables/.venv/lib/python3.10/site-packages/polars/_utils/deprecation.py", line 91, in wrapper
return function(*args, **kwargs)
File "/Users/kylemcentush/Documents/code/observables/.venv/lib/python3.10/site-packages/polars/_utils/deprecation.py", line 91, in wrapper
return function(*args, **kwargs)
File "/Users/kylemcentush/Documents/code/observables/.venv/lib/python3.10/site-packages/polars/io/parquet/functions.py", line 208, in read_parquet
return lf.collect()
File "/Users/kylemcentush/Documents/code/observables/.venv/lib/python3.10/site-packages/polars/lazyframe/frame.py", line 2027, in collect
return wrap_df(ldf.collect(callback))
pyo3_runtime.PanicException: Found compressed page in the middle of the pages
Issue description
Issue happens on read.
Expected behavior
Read file without issue. This file works with 1.3.0, so I believe this is a regression.
Checks
Reproducible example
This is a re-reporting of a bug originally found here: https://github.com/posit-dev/positron/issues/4218. The parquet file in question can be downloaded from: https://github.com/posit-dev/qa-example-content/blob/main/data-files/100x100/100x100.parquet
Log output
Issue description
Issue happens on read.
Expected behavior
Read file without issue. This file works with 1.3.0, so I believe this is a regression.
Installed versions