aboutsummaryrefslogtreecommitdiff
path: root/exec/vector
diff options
context:
space:
mode:
authorMinji Kim <minji@dremio.com>2016-02-17 22:29:11 -0800
committervkorukanti <venki.korukanti@gmail.com>2016-03-02 14:08:51 -0800
commitae46d268b318b43f178250e34fc58028c016fc70 (patch)
treebf98d49b7cf86c5fbd94788454c0370d24795a50 /exec/vector
parentc95b5432301fe487d64a1fc06e765228469fc3a2 (diff)
DRILL-4410: ListVector should initialize bits in allocateNew
Remove large arrays.json files and generate it in /tmp, Check test results Add another unit test for ListVector in TestValueVector, and use tempDir in TestComplexTypeReader Closes #380
Diffstat (limited to 'exec/vector')
-rw-r--r--exec/vector/src/main/java/org/apache/drill/exec/vector/complex/ListVector.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/ListVector.java b/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/ListVector.java
index ba30241fc..33d6ddc70 100644
--- a/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/ListVector.java
+++ b/exec/vector/src/main/java/org/apache/drill/exec/vector/complex/ListVector.java
@@ -70,6 +70,7 @@ public class ListVector extends BaseRepeatedValueVector {
@Override
public void allocateNew() throws OutOfMemoryException {
super.allocateNewSafe();
+ bits.allocateNewSafe();
}
public void transferTo(ListVector target) {