[
https://issues.apache.org/jira/browse/HIVE-23981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mahesh kumar behera updated HIVE-23981:
---------------------------------------
Description: The value for APPROXIMATE_INPUT_RECORDS should be obtained
using the enum name instead of static string. Once Tez release is done with the
specific information we should change it to
org.apache.tez.common.counters.TaskCounter.APPROXIMATE_INPUT_RECORDS. (was:
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. )
> Use task counter enum to get the approximate counter value
> ----------------------------------------------------------
>
> Key: HIVE-23981
> URL: https://issues.apache.org/jira/browse/HIVE-23981
> Project: Hive
> Issue Type: Bug
> Reporter: mahesh kumar behera
> Priority: Major
> Labels: pull-request-available
>
> The value for APPROXIMATE_INPUT_RECORDS should be obtained using the enum
> name instead of static string. Once Tez release is done with the specific
> information we should change it to
> org.apache.tez.common.counters.TaskCounter.APPROXIMATE_INPUT_RECORDS.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)