You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2020/07/30 05:00:09 UTC

[jira] [Created] (HIVE-23953) Use task counter information to compute keycount during hashtable loading

Rajesh Balamohan created HIVE-23953:
---------------------------------------

             Summary: Use task counter information to compute keycount during hashtable loading
                 Key: HIVE-23953
                 URL: https://issues.apache.org/jira/browse/HIVE-23953
             Project: Hive
          Issue Type: Bug
            Reporter: Rajesh Balamohan


There are cases when compiler misestimates key count and this results in a number of hashtable resizes during runtime.

[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTableLoader.java#L128]

In such cases, it would be good to get "approximate_input_records" (TEZ-4207) counter from upstream to compute the key count more accurately at runtime.

 
 * 
 * 
Options
h4.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)