davecromberge commented on code in PR #12164: URL: https://github.com/apache/pinot/pull/12164#discussion_r1459517429
########## pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/AggregationFunctionType.java: ########## @@ -497,4 +497,35 @@ public static AggregationFunctionType getAggregationFunctionType(String function } } } + + /** + * Returns the stored {@code AggregationFunctionType} used to create the underlying value in the segment or index. + * Some aggregation function types share the same underlying value but are used for different purposes in queries. + * @param aggregationType the aggregation type used in a query + * @return the underlying value aggregation type used in storage e.g. StarTree index + */ + public static AggregationFunctionType getAggregatedFunctionType(AggregationFunctionType aggregationType) { Review Comment: Addressed in https://github.com/apache/pinot/pull/12164/commits/2ca0cf588a484cf40c8ec57cb8c482b24f72ce71 -- 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