apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
673 stars 159 forks source link

rust_decimal only supports precision less than 28 #669

Open Xuanwo opened 1 month ago

Xuanwo commented 1 month ago

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).