[
https://issues.apache.org/jira/browse/HIVE-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590221#comment-13590221
]
Vikram Dixit K commented on HIVE-3891:
--------------------------------------
What I mean is right aliases can be only 1 (position 0; in case of join on
different keys) so if the bigTablePosition comes out as 2, the code looks to
find something in position 1 causing a failure.
> physical optimizer changes for auto sort-merge join
> ---------------------------------------------------
>
> Key: HIVE-3891
> URL: https://issues.apache.org/jira/browse/HIVE-3891
> Project: Hive
> Issue Type: Bug
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: auto_sortmerge_join_1.q, auto_sortmerge_join_1.q.out,
> hive.3891.1.patch, hive.3891.2.patch, hive.3891.3.patch, hive.3891.4.patch,
> hive.3891.5.patch, hive.3891.6.patch, hive.3891.7.patch
>
>
--
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