Skip to content

Add PrimitiveRunBuilder::with_data_type() to customize the values' DataType#9473

Open
brunal wants to merge 3 commits intoapache:mainfrom
brunal:run-array-with-data-type
Open

Add PrimitiveRunBuilder::with_data_type() to customize the values' DataType#9473
brunal wants to merge 3 commits intoapache:mainfrom
brunal:run-array-with-data-type

Conversation

@brunal
Copy link
Contributor

@brunal brunal commented Feb 24, 2026

This enables setting a timezone or precision & scale on parameterized DataType values.

Note: I think the panic is unfortunate, and a try_with_data_type() would be sensible.

Which issue does this PR close?

Are these changes tested?

Yes

Are there any user-facing changes?

  • Adds PrimitiveRunBuilder::with_data_type.

@github-actions github-actions bot added the arrow Changes to the arrow crate label Feb 24, 2026
…taType.

This enables setting a timezone or precision & scale on parameterized
DataType values.

Note: I think the panic is unfortunate, and a try_with_data_type() would
be sensible.

Fixes apache#8042.
@brunal brunal marked this pull request as ready for review February 24, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PrimitiveRunBuilder does not support augmenting its data_type.

1 participant