blob: 48fcd74a6f22d9f5522327c4eaa24aa8d7e1c213 [file] [log] [blame]
CREATE TABLE exchange_part_test1 (f1 string) PARTITIONED BY (ds STRING);
SHOW PARTITIONS exchange_part_test1;
ALTER TABLE exchange_part_test1 ADD PARTITION (ds='2013-04-05');
SHOW PARTITIONS exchange_part_test1;
-- exchange_part_test2 table does not exist thus this query will fail
alter table exchange_part_test1 exchange partition (ds='2013-04-05') with table exchange_part_test2;