Skip to content

[Variant] Add nested object and array interoperability tests - #10637

Open
cakeni wants to merge 1 commit into
apache:mainfrom
cakeni:test/variant-nested-interop
Open

[Variant] Add nested object and array interoperability tests#10637
cakeni wants to merge 1 commit into
apache:mainfrom
cakeni:test/variant-nested-interop

Conversation

@cakeni

@cakeni cakeni commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

The Variant interoperability suite covers primitive objects and arrays but does not exercise the nested object and array fixtures. This leaves nested VariantBuilder encoding without equivalent fixture-based coverage.

What changes are included in this PR?

  • Build the object_nested fixture with nested object builders and compare it with the decoded interoperability fixture.
  • Build the array_nested fixture with nested object/list builders, including null values, and compare it with the decoded fixture.

Are these changes tested?

Yes. Both new tests pass against apache/parquet-testing commit 73545118:

  • cargo test -p parquet-variant --test variant_interop variant_object_nested_builder
  • cargo test -p parquet-variant --test variant_interop variant_array_nested_builder

Are there any user-facing changes?

No. This PR adds test coverage only.

@github-actions github-actions Bot added the parquet-variant parquet-variant* crates label Aug 11, 2026
@cakeni
cakeni marked this pull request as ready for review August 11, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet-variant parquet-variant* crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Variant] Add nested object and array interoperability tests

1 participant