RocMarshal commented on PR #7357: URL: https://github.com/apache/paimon/pull/7357#issuecomment-4015464027
Thanks @JingsongLi Please let me have a try to clarify it: I reviewed the call semantics of these methods and found that they are ultimately invoked within concrete implementations of the Comparable interface. Therefore, since the comparison logic is based on integers, directly using Integer#compare might be a good choice. This is because when implementing comparison logic, only three result values are needed enough: -1, 0, and 1. -- 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]
