공부
[Hive] How to copy table
승가비
2020. 11. 20. 23:55
728x90
CREATE TABLE NEWDB.NEW_TABLE1 AS select * from OLDDB.OLD_TABLE1;
CREATE TABLE NEWDB.NEW_TABLE2 AS select * from OLDDB.OLD_TABLE2;
How to copy all hive table from one Database to other Database
I have default db in hive table which contains 80 tables . I have created one more database and I want to copy all the tables from default DB to new Databases. Is there any way I can copy from One...
stackoverflow.com
728x90