Skip to content

[Variant] Add unshredded Struct fast-path for variant_get(..., Struct)#9597

Open
sdf-jkl wants to merge 2 commits intoapache:mainfrom
sdf-jkl:variant_get-unshredded-struct
Open

[Variant] Add unshredded Struct fast-path for variant_get(..., Struct)#9597
sdf-jkl wants to merge 2 commits intoapache:mainfrom
sdf-jkl:variant_get-unshredded-struct

Conversation

@sdf-jkl
Copy link
Contributor

@sdf-jkl sdf-jkl commented Mar 20, 2026

Which issue does this PR close?

Rationale for this change

Check issue

What changes are included in this PR?

Reuse shred_basic_variant as a fast path for unshredded Struct handling in variant_get(..., Struct)

Are these changes tested?

Yes, added two unit tests to establish safe mode behavior.

Are there any user-facing changes?

@sdf-jkl sdf-jkl force-pushed the variant_get-unshredded-struct branch from 49c344b to c783026 Compare March 20, 2026 21:12
@github-actions github-actions bot added parquet Changes to the parquet crate parquet-variant parquet-variant* crates labels Mar 20, 2026
@sdf-jkl sdf-jkl force-pushed the variant_get-unshredded-struct branch from c783026 to 7f16038 Compare March 20, 2026 21:14
@github-actions github-actions bot removed the parquet Changes to the parquet crate label Mar 20, 2026
@sdf-jkl
Copy link
Contributor Author

sdf-jkl commented Mar 21, 2026

@scovich @klion26 @codephage2020 please take a look when available.

Copy link
Contributor

@codephage2020 codephage2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.Thanks.

Copy link
Contributor

@scovich scovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@klion26 klion26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution.

@sdf-jkl
Copy link
Contributor Author

sdf-jkl commented Mar 23, 2026

@scovich can we merge?

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 unshredded Struct fast-path for variant_get(..., Struct)

4 participants