fallintoplace opened a new pull request, #2526:
URL: https://github.com/apache/iceberg-go/pull/2526

   ## What
   
   - Support `write.parquet.stats-enabled.column.<name>` for data files.
   
   ## Why
   
   - Let users disable statistics for selected columns. This can reduce scan 
pruning.
   
   ## Implementation
   
   - Keep statistics enabled by default and map Iceberg field names to Parquet 
paths.
   - Follow [Iceberg 
Java](https://github.com/apache/iceberg/blob/014b3ce5ffbf7c1c51dabb144f4d94e45addcd88/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java#L361-L376),
 including its [delete-file 
behavior](https://github.com/apache/iceberg/blob/014b3ce5ffbf7c1c51dabb144f4d94e45addcd88/parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java#L843-L863).
   - The [Parquet 
spec](https://github.com/apache/parquet-format/blob/ec90dd4661ff1c4d77f06b5b5232c5aedf68ffc5/src/main/thrift/parquet.thrift#L955-L959)
 makes column statistics optional. The [Iceberg 
spec](https://iceberg.apache.org/spec/#field-level-metrics-and-statistics) 
describes file metrics used for filtering.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to