[DISCUSS] Proposal for a Canonical BigDecimal Extension Type #49820
Closed
Mandukhai-Alimaa
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Thanks for the proposal but could you use This GitHub Discussions is synchronized with |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
The mailing list thread: https://lists.apache.org/thread/34opw343xrzkb0vhhbqto9vx061c7j7f |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose a new canonical extension type for BigDecimal (arbitrary-precision decimals). While Arrow supports fixed-precision Decimal128 and Decimal256, these types require a uniform scale for an entire column. Many modern data engines (PostgreSQL, Trino, Oracle) utilize numeric types that allow for variable scale per row. This flexibility is the primary driver for this proposal, as it enables the representation of data that cannot be shoehorned into a fixed-scale schema without loss of integrity or precision.
This proposal aims to provide a high-fidelity transport format for these values to ensure data integrity when moving data between these systems and Arrow-native engines.
The proposal document
I look forward to your feedback!
Beta Was this translation helpful? Give feedback.
All reactions