Github user ilooner commented on a diff in the pull request: https://github.com/apache/drill/pull/1101#discussion_r166387829 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/HashAggTemplate.java --- @@ -140,6 +131,9 @@ private OperatorContext oContext; private BufferAllocator allocator; + private Map<String, Integer> keySizes; + // The size estimates for varchar value columns. The keys are the index of the varchar value columns. + private Map<Integer, Integer> varcharValueSizes; --- End diff -- As far as I know we don't support aggregations on repeated types. Varchar is the only non FixedWidth type we can aggregate.
---