JigaoLuo commented on issue #8378:
URL: https://github.com/apache/arrow-rs/issues/8378#issuecomment-3319329345

   I’d like to share a simple observation related to our discussion on **the 
score** for compression decisions. In my recent experiments, I noticed that 
once the Parquet file is sorted by a pruning column, compression becomes 
significantly less effective—so much so that my rewrite logic often decides to 
skip compression entirely.
   
   By "pruning column," I’m referring to the column used for predicate 
filtering—typically something like a date field, rather than a key. A shallow 
example: when the data is sorted by date, my rewrite detects almost no size 
reduction across most columns, making compression unhelpful in this case.
   
   <img width="2212" height="915" alt="Image" 
src="https://github.com/user-attachments/assets/ac6c1f27-d7b5-48ea-85a6-62897129a962";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to