Skip to content

Conversation

Weijun-H
Copy link
Member

@Weijun-H Weijun-H commented Oct 3, 2025

Which issue does this PR close?

Rationale for this change

The Arrow Rust implementation's variant-to-Arrow conversion utility, variant_to_arrow, did not previously support conversion of the Decimal32, Decimal64, and Decimal128 types.

What changes are included in this PR?

  • Added support for converting Decimal32, Decimal64, and Decimal128 variants to Arrow array types in the variant_to_arrow function.
  • Implemented the appropriate logic to handle these decimal types, ensuring their precision and scale are correctly mapped to Arrow's decimal array representations.

Are these changes tested?

Yes

Are there any user-facing changes?

@github-actions github-actions bot added the parquet-variant parquet-variant* crates label Oct 3, 2025
@Weijun-H Weijun-H changed the title feat: Support Decimal32, 64, 128 in variant to arrow feat: Support Decimal32, 64, 128 in variant_to_arrow Oct 3, 2025
@Weijun-H Weijun-H changed the title feat: Support Decimal32, 64, 128 in variant_to_arrow feat: Support Decimal32, Decimal64, Decimal128 in variant_to_arrow Oct 3, 2025
@Weijun-H Weijun-H force-pushed the 8477-support-decimal-in-variant-to-arrow branch from c6a54e4 to df0387f Compare October 3, 2025 14:50
@Weijun-H Weijun-H changed the title feat: Support Decimal32, Decimal64, Decimal128 in variant_to_arrow [Variant] feat: Support Decimal32, Decimal64, Decimal128 in variant_to_arrow Oct 4, 2025
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.

1 participant