alamb opened a new pull request, #7578:
URL: https://github.com/apache/arrow-rs/pull/7578

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Closes https://github.com/apache/arrow-rs/issues/7490
   
   # Rationale for this change
    
   Statistics for large columns (e.g. large strings) are typically not useful 
for min/max value pruning. 
   
   However, the current defaults in parquet-rs will store the entire min and 
max value. 
   
   For large binary/string columns (think JSON blobs), this means that two (a 
min and a max) potentially large values will be stored in both the file level 
metadata as well as in each data page header
   
   # What changes are included in this PR?
   
   Change default statistics truncation size to be 64
   
   # Are there any user-facing changes?
   This is a user facing change -- I expect users will see:
   1. Smaller parquet metadata (and thus smaller parquet files)
   2. Faster load times (as the metadata is smaller)
   
   It is an API change, so we should wait to merge this until the next major 
release


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to