gortiz commented on code in PR #13711:
URL: https://github.com/apache/pinot/pull/13711#discussion_r1696958932


##########
pinot-core/src/main/java/org/apache/pinot/core/query/postaggregation/PostAggregationFunction.java:
##########
@@ -38,20 +37,20 @@ public class PostAggregationFunction {
 
   public PostAggregationFunction(String functionName, ColumnDataType[] 
argumentTypes) {
     String canonicalName = FunctionRegistry.canonicalize(functionName);
-    FunctionInfo functionInfo = 
FunctionRegistry.lookupFunctionInfo(canonicalName, argumentTypes);
+    int numArguments = argumentTypes.length;
+    FunctionInfo functionInfo = 
FunctionRegistry.lookupFunctionInfo(canonicalName, numArguments);

Review Comment:
   Can we be sure this is not going to happen in other cases?



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to