You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by pa...@apache.org on 2014/12/18 22:23:55 UTC
[5/5] drill git commit: DRILL-1848 Unsupported operation exception
DRILL-1848 Unsupported operation exception
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/d11597e8
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/d11597e8
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/d11597e8
Branch: refs/heads/master
Commit: d11597e80577f951ffcb9e4f29ad68e76171ae68
Parents: 33a40e6
Author: Parth Chandra <pc...@maprtech.com>
Authored: Tue Dec 16 13:17:27 2014 -0800
Committer: Parth Chandra <pc...@maprtech.com>
Committed: Wed Dec 17 22:27:28 2014 -0800
----------------------------------------------------------------------
.../exec/physical/impl/xsort/PriorityQueueCopierTemplate.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/d11597e8/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/PriorityQueueCopierTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/PriorityQueueCopierTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/PriorityQueueCopierTemplate.java
index 951397c..c57ec28 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/PriorityQueueCopierTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/PriorityQueueCopierTemplate.java
@@ -133,8 +133,8 @@ public abstract class PriorityQueueCopierTemplate implements PriorityQueueCopier
}
private void allocateVectors(int targetRecordCount) {
- for(VectorAllocator a : allocators){
- a.alloc(targetRecordCount);
+ for (VectorWrapper w: outgoing) {
+ w.getValueVector().allocateNew();
}
}