Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jun 23, 2025

Which issue does this PR close?

Rationale for this change

I think that an accessor is similar to the existing as_null, as_i32, etc APIs.

What changes are included in this PR?

  1. Add Variant::as_object and Variant::as_list

Are there any user-facing changes?

New API (and docs with tests)

@alamb alamb marked this pull request as ready for review June 23, 2025 22:07
@github-actions github-actions bot added the parquet Changes to the parquet crate label Jun 23, 2025
@crepererum
Copy link
Contributor

I'm merging this to unblock #7740.

@crepererum crepererum merged commit 2b40d1d into apache:main Jun 24, 2025
15 checks passed
@alamb alamb deleted the alamb/add_as_object_as_field branch June 24, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants