[
https://issues.apache.org/jira/browse/HIVE-21439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792172#comment-16792172
]
Rajesh Balamohan edited comment on HIVE-21439 at 3/13/19 11:01 PM:
-------------------------------------------------------------------
Thanks [~gopalv]. Will check if spark (exec engine) can handle unpopulated
buckets as well.
was (Author: rajesh.balamohan):
Thanks [~gopalv]. Will check if spark can handle unpopulated buckets as well.
> 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
> Priority: Trivial
>
> 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
(v7.6.3#76005)