aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter
diff options
context:
space:
mode:
authoradeneche <adeneche@gmail.com>2015-07-01 12:10:07 -0700
committerHanifi Gunes <hgunes@maprtech.com>2015-07-06 16:28:29 -0700
commit48d8a59d1b97988c006f85daad0ae2fcb3a9cd06 (patch)
tree3335dc614a1484bb8d5454045ef8bed681154237 /exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter
parent1c9093e0f34daaeb1ad6661bb4d4115bc573ed78 (diff)
DRILL-3445: BufferAllocator.buffer() implementations should throw an OutOfMemoryRuntimeException
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter')
-rw-r--r--exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate2.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate2.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate2.java
index cd2fbe93e..11d01d757 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate2.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate2.java
@@ -64,7 +64,7 @@ public abstract class FilterTemplate2 implements Filterer{
if (recordCount == 0) {
return;
}
- if (! outgoingSelectionVector.allocateNew(recordCount)) {
+ if (! outgoingSelectionVector.allocateNewSafe(recordCount)) {
throw new OutOfMemoryRuntimeException("Unable to allocate filter batch");
}
switch(svMode){