Github user Ben-Zvi commented on a diff in the pull request:
https://github.com/apache/drill/pull/1227#discussion_r182911591
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchMemoryManager.java
---
@@ -241,4 +261,41 @@ public int getOutputBatchSize() {
public int getOffsetVectorWidth() {
return UInt4Vector.VALUE_WIDTH;
}
+
+ public void allocateVectors(VectorContainer container) {
--- End diff --
Cleaner implementation: Just call the following method, with outputRowCount
as the second parameter.
---