[Variant] Initial API for reading Variant data and metadata#7535
Merged
alamb merged 44 commits intoapache:mainfrom May 31, 2025
Merged
[Variant] Initial API for reading Variant data and metadata#7535alamb merged 44 commits intoapache:mainfrom
alamb merged 44 commits intoapache:mainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
We need to agree on an API for reading Variant metadata. Based on the work and discussions in #7452, in this PR we propose an API plus an implementation (WIP while draft) for reading variant metadata in the parquet-variant crate.
A lot of the work is based on the work in #7452 by @PinkCrow007 and feedback from @alamb, @scovich, and @Weijun-H.
What changes are included in this PR?
We attempt to be result- and validation driven while ensuring zero-allocations, and we do so avoiding
serde_json.We tried to keep the Variant API similar to the
Json::Valueapi.Are there any user-facing changes?
The new API's added in parquet-variant will be user facing.