Skip to content

Preserve null object members in Variant casts - #11965

Open
adityuhkapoor wants to merge 1 commit into
apache:mainfrom
adityuhkapoor:fix-11947-present-null
Open

adityuhkapoor wants to merge 1 commit into
apache:mainfrom
adityuhkapoor:fix-11947-present-null

Conversation

@adityuhkapoor

Copy link
Copy Markdown

Preserve null-valued struct fields and map entries as Variant nulls instead of omitting them.

Validation: crate tests and Clippy, covering encoded inputs and overflow handling. Workspace tests passed before the final test-only reduction.

Implementation and tests were generated with Codex assistance.

Fixes #11947.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Squash those bugs parquet-variant parquet-variant* crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Variant] cast_to_variant silently drops null struct fields and map entries

1 participant