You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "LuGuangMing (Jira)" <ji...@apache.org> on 2020/05/26 10:03:00 UTC

[jira] [Updated] (HIVE-20983) Vectorization: Scale up small hashtables, when collisions are detected

     [ https://issues.apache.org/jira/browse/HIVE-20983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

LuGuangMing updated HIVE-20983:
-------------------------------
    Issue Type: Improvement  (was: Bug)

> Vectorization: Scale up small hashtables, when collisions are detected
> ----------------------------------------------------------------------
>
>                 Key: HIVE-20983
>                 URL: https://issues.apache.org/jira/browse/HIVE-20983
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Gopal Vijayaraghavan
>            Assignee: Mustafa Iman
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20983.1.patch, HIVE-20983.2.patch, HIVE-20983.3.patch, HIVE-20983.4.patch, HIVE-20983.5.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hive's hashtable estimates are getting better with HyperLogLog stats in place, but an accurate estimate does not always result in a low number of collisions.
> The hashtables which contain a very small number of items tend to lose their O(1) lookup performance where there are collisions. Since collisions are easy to detect within the fast hashtable implementation, a rehashing to a higher size will help these small hashtables avoid collisions and go back to O(1) perf.



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