fallintoplace opened a new pull request, #2514:
URL: https://github.com/apache/iceberg-go/pull/2514

   ## What
   - Match Java's ordering for float and double literals.
   
   ## Why
   - Go's default ordering treats `-0.0` and `+0.0` as equal and puts NaN 
before numbers. This can prune matching files.
   
   ## Implementation
   - Order signed zeros distinctly and canonical NaNs after numbers.
   - Use the same comparator for literals, metrics, and manifest bounds.
   
   ## References
   - [Iceberg spec: Bounds for Float and 
Double](https://iceberg.apache.org/spec/#bounds-for-float-and-double)
   - Java 
[`Comparators`](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/types/Comparators.java)
   - Java 
[`Literals`](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/expressions/Literals.java)
   


-- 
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]

Reply via email to