Github user ilooner commented on a diff in the pull request:
https://github.com/apache/drill/pull/1101#discussion_r164615077
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/spill/RecordBatchSizer.java
---
@@ -129,11 +143,16 @@ public ColumnSize(ValueVector v, String prefix) {
// No standard size for Union type
dataSize = v.getPayloadByteCount(valueCount);
break;
+ case GENERIC_OBJECT:
+ // We cannot provide a size for Generic Objects
--- End diff --
Execution gets here in some of the HashAgg functional tests. Probably in
the case where varchars are aggregated, since as you explained to me varchars
are stored in object vectors on heap.
---