atris commented on a change in pull request #8172: URL: https://github.com/apache/pinot/pull/8172#discussion_r804969495
########## File path: pinot-core/src/main/java/org/apache/pinot/core/query/request/context/QueryContext.java ########## @@ -459,104 +457,87 @@ public QueryContext build() { * Helper method to generate the aggregation functions for the query. */ private void generateAggregationFunctions(QueryContext queryContext) { - List<AggregationFunction> aggregationFunctions = new ArrayList<>(); - List<Pair<AggregationFunction, FilterContext>> filteredAggregations = new ArrayList<>(); - Map<FunctionContext, Integer> aggregationFunctionIndexMap = new HashMap<>(); - Map<Pair<FunctionContext, FilterContext>, Integer> filterExpressionIndexMap = new HashMap<>(); + List<Pair<AggregationFunction, FilterContext>> filteredAggregationFunctions = new ArrayList<>(); + Map<Pair<FunctionContext, FilterContext>, Integer> filteredAggregationsIndexMap = new HashMap<>(); // Add aggregation functions in the SELECT clause // NOTE: DO NOT deduplicate the aggregation functions in the SELECT clause because that involves protocol change. - List<Pair<FilterContext, FunctionContext>> aggregationsInSelect = new ArrayList<>(); Review comment: Ah I see. My bad, thanks! -- 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