You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Brahma Reddy Battula (Jira)" <ji...@apache.org> on 2022/12/01 09:13: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 ]

Brahma Reddy Battula updated HIVE-20983:
----------------------------------------
    Labels: hive-3.2.0-candidate pull-request-available  (was: pull-request-available)

> 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 İman
>            Priority: Major
>              Labels: hive-3.2.0-candidate, pull-request-available
>             Fix For: 4.0.0-alpha-1
>
>         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.20.10#820010)