Ben-Zvi closed pull request #1340: DRILL-6539: Record count not set for this vector container error URL: https://github.com/apache/drill/pull/1340
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/HashTableTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/HashTableTemplate.java index bb0b1adf2a..342c667b11 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/HashTableTemplate.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/HashTableTemplate.java @@ -365,6 +365,7 @@ private void setValueCount() { ValueVector vv = vw.getValueVector(); vv.getMutator().setValueCount(maxOccupiedIdx + 1); } + htContainer.setRecordCount(maxOccupiedIdx+1); } private void dump(int idx) { ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services