C-Loftus opened a new issue, #2158:
URL: https://github.com/apache/iceberg-go/issues/2158

   ### Feature Request / Improvement
   
   Parquet GEOMETRY/GEOGRAPHY column chunks omit the standard Statistics block 
(min, max, null count), so iceberg-go rebuilds geo metrics from the Arrow data 
while writing. 
   
   `collectGeoColumns` only handles top-level geo columns, so geo fields nested 
in structs, lists or maps get no bounds and no null count in the manifest. 
   
   Files added through AddFiles don't go through the writer, so they get no geo 
null count either. This never gives wrong results, but it means those files 
can't be pruned. 
   
   The fix is to extend `geoBoundsAccumulator` to nested WKB leaves, counting 
rows where a parent is null the same way Parquet's leaf null_count does, and 
then update `TestWriteDataFileNestedGeoNullCount` which pins the current 
behavior. Follow-up from #2125, part of #989.


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