[ https://issues.apache.org/jira/browse/HIVE-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548101#comment-13548101 ]
Hudson commented on HIVE-3673: ------------------------------ Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3673 Sort merge join not used when join columns have different names (Kevin Wilfong via namit) (Revision 1406090) Result = ABORTED namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1406090 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SortedMergeBucketMapJoinOptimizer.java * /hive/trunk/ql/src/test/queries/clientpositive/smb_mapjoin_13.q * /hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out > Sort merge join not used when join columns have different names > --------------------------------------------------------------- > > Key: HIVE-3673 > URL: https://issues.apache.org/jira/browse/HIVE-3673 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.10.0 > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Fix For: 0.10.0 > > Attachments: HIVE-3673.1.patch.txt, HIVE-3673.2.patch.txt > > > If two tables are joined on columns with different names, the sort merge join > optimization is not applied. E.g. > SELECT /*+ MAPJOIN(b) */ * FROM t1 a JOIN t2 b ON a.key = b.value; > This will not use sort merge join even if t1 and t2 are bucketed and sorted > by key, value respectively. -- 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