nssalian opened a new pull request, #1555: URL: https://github.com/apache/iceberg-go/pull/1555
`collectVariantBounds` dropped a shredded field's bound when any ancestor object's residual `value` column was non-null. Now it drops only when the field's own `value` residual is non-null. Per the Iceberg spec [Bounds for Variant](https://github.com/apache/iceberg/blob/main/format/spec.md), a field's bounds must be accurate for its non-null values. A row whose ancestor is a scalar has the descendant field absent (null), so it is outside the bound and cannot invalidate it. This matches Java `ParquetMetrics.object()`/`value()`, where the object residual is trusted and only the field's own residual invalidates its bound. Serialization unchanged; only which fields get a bound. Follow-up to [#1478](https://github.com/apache/iceberg-go/pull/1478). -- 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]
