Skip to content

GH-45937: [C++][Parquet] support to encode, write and validate variant#50252

Draft
HuaHuaY wants to merge 2 commits into
apache:mainfrom
HuaHuaY:variant
Draft

GH-45937: [C++][Parquet] support to encode, write and validate variant#50252
HuaHuaY wants to merge 2 commits into
apache:mainfrom
HuaHuaY:variant

Conversation

@HuaHuaY

@HuaHuaY HuaHuaY commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

This PR supports:

  • Mapping between arrow extension variant type and Parquet variant type
  • Encoding unshredded variant arrays
  • Assembling and verifying shredded variant arrays given a typed_value array

This PR does not support:

  • Inferring typed_value shredded data from the value array

What changes are included in this PR?

Are these changes tested?

Yes.

Are there any user-facing changes?

  1. There is a new properties variant_validation_enabled_ in ArrowWriterProperties.
  2. Variant builders at cpp/src/arrow/extension/variant/.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant