공부
[Hive] rename
승가비
2020. 11. 23. 03:22
728x90
ALTER TABLE db_name.test_1 RENAME TO db_name.test_2;
https://stackoverflow.com/questions/35963498/how-to-rename-a-hive-table-without-changing-location
How to rename a hive table without changing location?
Based on the Hive doc below: Rename Table ALTER TABLE table_name RENAME TO new_table_name; This statement lets you change the name of a table to a different name. As of version 0.6, a rename on a
stackoverflow.com
728x90