You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (Jira)" <ji...@apache.org> on 2020/02/29 06:30:00 UTC

[jira] [Updated] (HIVE-21439) Provide an option to reduce lookup overhead for bucketed tables

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

Ashutosh Chauhan updated HIVE-21439:
------------------------------------
    Status: Patch Available  (was: Open)

> Provide an option to reduce lookup overhead for bucketed tables
> ---------------------------------------------------------------
>
>                 Key: HIVE-21439
>                 URL: https://issues.apache.org/jira/browse/HIVE-21439
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Rajesh Balamohan
>            Priority: Trivial
>         Attachments: HIVE-21439.1.patch, HIVE-21439.2.patch, HIVE-21439.3.patch
>
>
> If a table is bucketed, `OpTraitsRulesProcFactory::TableScanRule` ends up verifying if the partitions have got the same number of files as the number of buckets in table. https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/metainfo/annotation/OpTraitsRulesProcFactory.java#L185
> In large tables, this turns out to be very time consuming (100s of seconds) operation. It would be good to have an option to by pass this depending on need basis.



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