Hive:修改表名
修改hive表名:
ALTER TABLE old_name RENAME TO new_name;
spark:
spark.sql("ALTER TABLE old_name RENAME TO new_name")
修改hive表名:
ALTER TABLE old_name RENAME TO new_name;
spark:
spark.sql("ALTER TABLE old_name RENAME TO new_name")