agavra commented on code in PR #9767: URL: https://github.com/apache/pinot/pull/9767#discussion_r1018254481
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/AggregateOperator.java: ########## @@ -53,17 +56,32 @@ * If the input is single value, the output type will be input type. Otherwise, the output type will be double. */ public class AggregateOperator extends BaseOperator<TransferableBlock> { + + interface Merger extends BiFunction<Object, Object, Object> { + } + private static final String EXPLAIN_NAME = "AGGREGATE_OPERATOR"; + private static final Map<String, Merger> MERGERS = ImmutableMap Review Comment: IMO it's nice to have constants at the top of the file, but don't feel strongly. I'll move it -- 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