iceberg-kitten opened a new pull request, #4385:
URL: https://github.com/apache/iceberg-python/pull/4385

   ## What
   - Omit file-level `null_value_counts` when any Parquet row group has no null 
count.
   
   ## Why
   - Adding only known row-group counts can undercount nulls and let an `IS 
NULL` scan skip a matching file.
   - The [Iceberg 
spec](https://github.com/apache/iceberg/blob/main/format/spec.md#L909-L912) 
defines file-level null counts. 
[Java](https://github.com/apache/iceberg/blob/main/parquet/src/main/java/org/apache/iceberg/parquet/ParquetMetrics.java#L657-L684)
 keeps the total unknown if any chunk count is missing.
   
   ## Implementation
   - Track fields with incomplete counts and omit their partial totals after 
scanning all row groups.
   


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