Skip to content

Conversation

@liamzwbao
Copy link
Contributor

Which issue does this PR close?

We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax.

Rationale for this change

What changes are included in this PR?

Implement LargeString and StringView process in json_to_variant convertion.

Are these changes tested?

Yes, added tests

Are there any user-facing changes?

Yes, new string types are supported

@github-actions github-actions bot added the parquet-variant parquet-variant* crates label Aug 17, 2025
@liamzwbao liamzwbao marked this pull request as ready for review August 17, 2025 14:03
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @liamzwbao

}
let mut variant_array_builder = VariantArrayBuilder::new(input.len());

// Try each string array type in sequence
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb alamb merged commit e531df7 into apache:main Aug 18, 2025
12 checks passed
@alamb
Copy link
Contributor

alamb commented Aug 18, 2025

Merging so we can resolve conflicts with

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] Support StringView and LargeString in ´batch_json_string_to_variant`

2 participants