drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From par...@apache.org
Subject [5/5] drill git commit: DRILL-1848 Unsupported operation exception
Date Thu, 18 Dec 2014 21:23:55 GMT
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 <pchandra@maprtech.com>
Authored: Tue Dec 16 13:17:27 2014 -0800
Committer: Parth Chandra <pchandra@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();
     }
   }
 


Mime
View raw message