ArnavBalyan opened a new pull request, #8295:
URL: https://github.com/apache/paimon/pull/8295
### Purpose
- Float and double comparators reused the integer ternary, which is not
correct since nan compares equal to everything and signed zero is treated as
equal.
- This silently misorders any sort or clustering on a float or double column
containing nan, and can cause buggy java sort.
- Switch the float and double cases to the jdk total order comparison.
### Tests
- UT
--
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]