You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2020/02/19 23:06:01 UTC

[hive] branch master updated: HIVE-22896 : Increase fast hashtable size on detecting initial collision (Rajesh Balamohan via Ashutosh Chauhan)

This is an automated email from the ASF dual-hosted git repository.

hashutosh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 5012954  HIVE-22896 : Increase fast hashtable size on detecting initial collision (Rajesh Balamohan via Ashutosh Chauhan)
5012954 is described below

commit 5012954396c98c94d0ff64fe3bbdb74e6077f190
Author: Rajesh Balamohan <rb...@apache.org>
AuthorDate: Wed Feb 19 15:03:27 2020 -0800

    HIVE-22896 : Increase fast hashtable size on detecting initial collision (Rajesh Balamohan via Ashutosh Chauhan)
    
    Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
---
 .../hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTable.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTable.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTable.java
index 248d125..f4541f7 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTable.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTable.java
@@ -29,8 +29,8 @@ import org.apache.hadoop.hive.ql.exec.vector.mapjoin.hashtable.VectorMapJoinNonM
 public abstract class VectorMapJoinFastHashTable implements VectorMapJoinHashTable {
   public static final Logger LOG = LoggerFactory.getLogger(VectorMapJoinFastHashTable.class);
 
-  // when rehashing, jump directly to 4k items
-  public static final int FIRST_SIZE_UP = 4096;
+  // when rehashing, jump directly to 1M items
+  public static final int FIRST_SIZE_UP = 1048576;
 
   protected final boolean isFullOuter;