修改hive表名:
alter table old_name rename to new_name;
spark:
spark.sql("alter table old_name rename to new_name")