richardstartin commented on a change in pull request #8100:
URL: https://github.com/apache/pinot/pull/8100#discussion_r796789390
##########
File path:
pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ArithmeticFunctions.java
##########
@@ -54,15 +54,27 @@ public static double mod(double a, double b) {
}
@ScalarFunction
- public static double min(double a, double b) {
+ public static double least(double a, double b) {
return Double.min(a, b);
}
@ScalarFunction
- public static double max(double a, double b) {
+ public static double greatest(double a, double b) {
return Double.max(a, b);
}
+ @Deprecated
Review comment:
We could just remove the deprecation and tolerate some duplication. What
do you think?
--
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]