[ https://issues.apache.org/jira/browse/HIVE-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423823#comment-15423823 ]
Rui Li commented on HIVE-6129: ------------------------------ I wonder if we should update the doc for this. According to doc, T1 is source and T2 is target. > alter exchange is implemented in inverted manner > ------------------------------------------------ > > Key: HIVE-6129 > URL: https://issues.apache.org/jira/browse/HIVE-6129 > Project: Hive > Issue Type: Bug > Reporter: Navis > Assignee: Navis > Priority: Critical > Fix For: 0.13.0 > > Attachments: HIVE-6129.1.patch.txt, HIVE-6129.2.patch > > > see > https://issues.apache.org/jira/browse/HIVE-4095?focusedCommentId=13819885&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13819885 > alter exchange should be implemented accord to document in > https://cwiki.apache.org/confluence/display/Hive/Exchange+Partition. i.e > {code} > alter table T1 exchange partition (ds='1') with table T2" > {code} > should be (after creating T1@ds=1) > {quote} > moves the data from T2 to T1@ds=1.... > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)