Hi,
  I want to backup a table and then create a new empty one with following
commands in Hadoop.  How do I do it in java?  Thanks.

BEGIN;
RENAME TABLE my_table TO backup_table;
CREATE TABLE my_table LIKE backup_table;
COMMIT;

-- 
View this message in context: 
http://www.nabble.com/How-to-Rename---Create-DB-Table-in-Hadoop--tp23629956p23629956.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to