You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2017/10/30 23:23:00 UTC
[jira] [Commented] (HIVE-17939) Bucket map join not being selected
when bucketed tables is missing bucket files
[ https://issues.apache.org/jira/browse/HIVE-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225970#comment-16225970 ]
Jason Dere commented on HIVE-17939:
-----------------------------------
+1 pending tests
> Bucket map join not being selected when bucketed tables is missing bucket files
> -------------------------------------------------------------------------------
>
> Key: HIVE-17939
> URL: https://issues.apache.org/jira/browse/HIVE-17939
> Project: Hive
> Issue Type: Bug
> Reporter: Deepak Jaiswal
> Assignee: Deepak Jaiswal
> Attachments: HIVE-17939.1.patch
>
>
> Looks like the following logic kicks in during OpTraitsRulesProcFactory.TableScanRule.checkBucketedTable(), which prevents the table from being considered a proper bucketed table:
> // The number of files for the table should be same as number of
> // buckets.
> if (fileNames.size() != 0 && fileNames.size() != numBuckets) {
> return false;
> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)