-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16600/
-----------------------------------------------------------
Review request for hive.
Bugs: HIVE-6129
https://issues.apache.org/jira/browse/HIVE-6129
Repository: hive-git
Description
-------
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}
Diffs
-----
ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java a1b19a6
ql/src/test/queries/clientnegative/exchange_partition_neg_incomplete_partition.q
e4f0dac
ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists.q
4d1e0a6
ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists2.q
23777db
ql/src/test/queries/clientnegative/exchange_partition_neg_partition_exists3.q
350bf24
ql/src/test/queries/clientnegative/exchange_partition_neg_partition_missing.q
81944b3
ql/src/test/queries/clientpositive/exchange_partition.q 6e8bf8e
ql/src/test/queries/clientpositive/exchange_partition2.q 27b335a
ql/src/test/queries/clientpositive/exchange_partition3.q 7b9060d
ql/src/test/results/clientnegative/exchange_partition_neg_incomplete_partition.q.out
8499427
ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists.q.out
b8c3c139
ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists2.q.out
93c3406
ql/src/test/results/clientnegative/exchange_partition_neg_partition_exists3.q.out
d0959ef
ql/src/test/results/clientpositive/exchange_partition.q.out bbc6d5b
ql/src/test/results/clientpositive/exchange_partition2.q.out 5136106
ql/src/test/results/clientpositive/exchange_partition3.q.out 72ac6bd
Diff: https://reviews.apache.org/r/16600/diff/
Testing
-------
Thanks,
Navis Ryu