gortiz commented on code in PR #13733: URL: https://github.com/apache/pinot/pull/13733#discussion_r1750345793
########## pinot-core/src/main/java/org/apache/pinot/core/operator/query/AggregationOperator.java: ########## @@ -100,4 +103,21 @@ public String toExplainString() { return stringBuilder.append(')').toString(); } + + @Override + protected String getExplainName() { + return EXPLAIN_NAME; + } + + @Override + protected void explainAttributes(ExplainAttributeBuilder attributeBuilder) { + super.explainAttributes(attributeBuilder); + if (_aggregationFunctions.length == 0) { + return; + } + List<String> aggregations = Arrays.stream(_aggregationFunctions) + .map(AggregationFunction::toExplainString) + .collect(Collectors.toList()); + attributeBuilder.putLongIdempotent("numAggregations", aggregations.size()); Review Comment: Solved. Now it includes the whole list -- 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