Github user ilooner commented on a diff in the pull request: https://github.com/apache/drill/pull/1101#discussion_r164615743 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/spill/RecordBatchSizer.java --- @@ -232,9 +251,8 @@ else if (width > 0) { } } - public static final int MAX_VECTOR_SIZE = ValueVector.MAX_BUFFER_SIZE; // 16 MiB - private List<ColumnSize> columnSizes = new ArrayList<>(); + private Map<String, ColumnSize> columnSizeMap = CaseInsensitiveMap.newHashMap(); --- End diff -- I will follow up on this on the mailing list. I was under the impression that Drill is case-**in**sensitive and did not support case sensitivity of columns in an external store like HBase or MapRDB. If Drill is case-sensitive then we have a bigger issue because some of the functional tests assume that it is case-**in**sensitive.
---