[ 
https://issues.apache.org/jira/browse/HIVE-4521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652276#comment-13652276
 ] 

Gunther Hagleitner commented on HIVE-4521:
------------------------------------------

Added another case in patch .2: Empty bucketed tables throw "Metadata 
Incorrect" when they are joined. It'll produce 0 results but should not fail.
                
> Auto join conversion fails in certain cases (empty tables, empty partitions, 
> no partitions)
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4521
>                 URL: https://issues.apache.org/jira/browse/HIVE-4521
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gunther Hagleitner
>            Assignee: Gunther Hagleitner
>         Attachments: HIVE-4521.1.patch, HIVE-4521.2.patch
>
>
> Automatic join conversion for both map joins as well as smb joins fails when 
> tables, files or partitions are empty (see test cases in patch). Error 
> messages include: "Big Table Alias is null" and "Divide by Zero".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to