xiangfu0 commented on code in PR #14671:
URL: https://github.com/apache/pinot/pull/14671#discussion_r1888106639
##########
pinot-common/src/main/java/org/apache/pinot/common/function/scalar/ArithmeticFunctions.java:
##########
@@ -30,6 +30,16 @@ public class ArithmeticFunctions {
private ArithmeticFunctions() {
}
+ @ScalarFunction
+ public static double subtract(double a, double b) {
+ return a - b;
+ }
+
+ @ScalarFunction
+ public static double multiply(double a, double b) {
+ return a * b;
+ }
Review Comment:
make sense, I can just add the alias
--
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]