Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust_decimal only supports precision less than 28 #669

Open
Xuanwo opened this issue Oct 14, 2024 · 0 comments
Open

rust_decimal only supports precision less than 28 #669

Xuanwo opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Oct 14, 2024

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

@liurenjie1024 liurenjie1024 added the bug Something isn't working label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants