MLH Software Engineering Fellow, contributing to Apache Arrow and Parquet through a G-Research-sponsored fellowship.
Apache Arrow / ParquetDraft
Compression that earns its keep
Let writers skip compression when its storage savings are too small to justify the work.
C++
PyArrow
Parquet V2
Read the case study
The problem
Parquet V2 pages could keep compressed values even when they were only slightly smaller than the original data.
What I did
Added a configurable min_space_savings threshold in C++ and Python, preserved default behavior, and added unit tests for both implementations.
Outcome & status
Draft PR #52580 is open. The setting lets a value such as 0.1 require at least 10% savings before keeping compressed values. The earlier #52579 submission is closed and shown in the submission history below.