Parent: #589
Metadata storage for partition-statistics exists and is exposed via Metadata.PartitionStatistics(), but there is no round-trip coverage against a Java-produced v3 metadata.json containing partition-statistics entries. The cross-client wire-format guarantee is unpinned today.
Generate (or copy from apache/iceberg testdata) a v3 metadata.json with at least one partition-statistics entry and check it into table/testdata/. Load it via the existing parser, re-serialize, assert byte-equivalent JSON. Test fails today if a field is silently dropped during round-trip.
Pairs naturally with #1005 (zstd codec round-trip) — the testdata layout pattern is the same.
Parent: #589
Metadata storage for
partition-statisticsexists and is exposed viaMetadata.PartitionStatistics(), but there is no round-trip coverage against a Java-produced v3metadata.jsoncontaining partition-statistics entries. The cross-client wire-format guarantee is unpinned today.Generate (or copy from
apache/icebergtestdata) a v3metadata.jsonwith at least onepartition-statisticsentry and check it intotable/testdata/. Load it via the existing parser, re-serialize, assert byte-equivalent JSON. Test fails today if a field is silently dropped during round-trip.Pairs naturally with #1005 (zstd codec round-trip) — the testdata layout pattern is the same.