THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
alter table <tablename> exchange partition (<(partial)?partition spec>) with table <tablename> partition (<(partial)?partition spec>)
|
The semantics of the above statement is that the data between the above partitions are switched. Both the tables should have the same schema. The operation fails in the presence of an index. Consider the following examples:
...