修改被移动数据源的表的 location 即可
hive> alter table injury_info_daily_test_2 set location '/input';
OK
Time taken: 0.07 seconds
本文介绍如何通过修改Hive表的位置来实现数据源的移动。具体操作为使用ALTER TABLE命令并设置新的位置路径。
修改被移动数据源的表的 location 即可
hive> alter table injury_info_daily_test_2 set location '/input';
OK
Time taken: 0.07 seconds

被折叠的 条评论
为什么被折叠?