Skip to content

test(table): round-trip Java-produced v3 metadata with partition-statistics #1012

@laskoviymishka

Description

@laskoviymishka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions