You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2018/07/23 22:22:44 UTC

[GitHub] Ben-Zvi commented on a change in pull request #1394: DRILL-6626: Fixed an IndexOutOfBoundException during aggregator rehash

Ben-Zvi commented on a change in pull request #1394: DRILL-6626: Fixed an IndexOutOfBoundException during aggregator rehash
URL: https://github.com/apache/drill/pull/1394#discussion_r204571826
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/HashTableTemplate.java
 ##########
 @@ -816,7 +814,7 @@ private void resizeAndRehashIfNeeded() {
         logger.debug("Bucket: {}, startIdx[ {} ] = {}.", i, i, startIndices.getAccessor().get(i));
         int startIdx = startIndices.getAccessor().get(i);
         BatchHolder bh = batchHolders.get((startIdx >>> 16) & BATCH_MASK);
-        bh.dump(idx);
+        bh.dump(startIdx);
 
 Review comment:
   Good catch !

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services