laskoviymishka opened a new issue, #988: URL: https://github.com/apache/iceberg-go/issues/988
Parent: #589 Variants don't have a natural total order, so emitting min/max for the parent variant column is meaningless. Java's current posture: skip min/max stats for the variant column itself but emit stats on shredded typed columns (which are typed primitives at write time, so the existing column-stats path covers them for free once #987 lands). Mirror that here: the stats writer in `table/internal/parquet_files.go` should special-case `VariantType` to skip its own stats but allow the typed_value subtree to carry stats normally. The carve-out is one branch in the writer plus an assertion test that no min/max appears for the parent variant column on round-trip, while min/max is present for shredded children when typed. Java reference: [apache/iceberg#10498](https://github.com/apache/iceberg/pull/10498) (variant stats handling). Depends on #987 because shredded children only exist once shredding is wired through the writer. -- 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]
