fallintoplace opened a new pull request, #2504: URL: https://github.com/apache/iceberg-go/pull/2504
## What - Compare decimal literals exactly when scales differ. ## Why - A failed rescale can return the wrong comparison result. ## Implementation - Compare unscaled values at a common scale with `math/big`. - Keep the same-scale fast path. ## References - [Iceberg expressions spec: decimal comparison](https://github.com/apache/iceberg/blob/main/format/expressions-spec.md#L161-L168) - [Java `Literals` natural ordering](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/expressions/Literals.java#L1946-L1967) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
