High memory usage reading Parquet files with many struct fields #21031
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
The memory usage is much higher than expected (2152 MB). The Parquet file size is only 236 KB, and the data size is very small. For comparison, using similar sized data but in a flat schema (by changing
use_struct
to False in the example code) uses only 38 MB of memory.Expected behavior
Memory usage should be similar to using a flat schema.
Installed versions
The text was updated successfully, but these errors were encountered: