rust_decimal only supports precision less than 28
rust_decimal looks promising but only supports precision less than 28, while the Iceberg spec requires 38. It's possible for an Iceberg table to contain a decimal value that exceeds this range.
I have initiated a discussion with the upstream to explore potential extensions. However, if we can't find an adequate solution, we might need to switch from rust_decimal to other crates that can support decimal(37, 10).
Possible alternative:
- https://crates.io/crates/bigdecimal
- https://crates.io/crates/decimal-rs
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
We should keep this an resolve it some day.