When you write dataset with BINARY columns that can be fairly large (several Mbs) you can often end with an OutOfMemory error where you either have to:
- Throw more RAM
- Increase number of output files
- Play with Block size
Using a fork with increased checks frequency for row group size help but it is not enough. (PR: #470)
The OutOfMemory error is now caused due to the accumulation of min/max values for those columns for each BlockMetaData.
The "parquet.statistics.truncate.length" configuration is of no help because it is applied during the footer serialization whereas the OOM occurs before that.
I think it would be nice to have, like for dictionary or bloom filter, a way to disable the statistic on a per-column basis.
Could be very useful to lower memory consumption when stats of huge binary column are unnecessary.
Reporter: Anthony Pessy / @panthony
Original Issue Attachments:
Note: This issue was originally created as PARQUET-1911. Please see the migration documentation for further details.
When you write dataset with BINARY columns that can be fairly large (several Mbs) you can often end with an OutOfMemory error where you either have to:
- Throw more RAM
- Increase number of output files
- Play with Block size
Using a fork with increased checks frequency for row group size help but it is not enough. (PR: #470)
The OutOfMemory error is now caused due to the accumulation of min/max values for those columns for each BlockMetaData.
The "parquet.statistics.truncate.length" configuration is of no help because it is applied during the footer serialization whereas the OOM occurs before that.
I think it would be nice to have, like for dictionary or bloom filter, a way to disable the statistic on a per-column basis.
Could be very useful to lower memory consumption when stats of huge binary column are unnecessary.
Reporter: Anthony Pessy / @panthony
Original Issue Attachments:
Note: This issue was originally created as PARQUET-1911. Please see the migration documentation for further details.