gianm commented on a change in pull request #7614: Fix exception when using complex aggs with result level caching URL: https://github.com/apache/incubator-druid/pull/7614#discussion_r282136139
########## File path: processing/src/main/java/org/apache/druid/query/groupby/GroupByQueryQueryToolChest.java ########## @@ -566,12 +566,24 @@ public Row apply(Object input) DimensionHandlerUtils.convertObjectToType(results.next(), dimensionSpec.getOutputType()) ); } - Iterator<AggregatorFactory> aggsIter = aggs.iterator(); + + // When using the result level cache, the agg values seen here are Review comment: There's a long comment and identical block in each toolchest -- perhaps extract to a helper method in `CacheUtil`? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org