-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
For decimal type, iceberg-rust[1] uses rust_decimal[2] crate, and iceberg-java uses Java's BigDecimal[3]. iceberg-go uses a hand-written decimal [4]
We can uses a hand-written decimal in Literal. Or uses arrow's implemetation?
[1] https://github.com/apache/iceberg-rust/commits/e5d3aabf1a15892e89eca7850e32720d89e65e7c/crates/iceberg/src/spec/values.rs
[2] https://docs.rs/rust_decimal/latest/rust_decimal/
[3] https://github.com/apache/iceberg/blob/12605226736312970d787e704d4b7352a2bc2c1c/api/src/main/java/org/apache/iceberg/expressions/Literal.java#L22
[4] https://github.com/apache/iceberg-go/blob/ff2f3de32af5291ef4a35ce79978bb8000a9a5ff/types.go#L486
Metadata
Metadata
Assignees
Labels
No labels