# check table 的 partition
hive> show partitions table_name ;
如果是外部表 ,不小心把表給刪除了 ,可以適用下命令重新關聯表和數據
[MSCK REPAIR TABLE] 全量修復分區
hive> msck repair table table_name;
# check table 的 partition
hive> show partitions table_name ;
如果是外部表 ,不小心把表給刪除了 ,可以適用下命令重新關聯表和數據
[MSCK REPAIR TABLE] 全量修復分區
hive> msck repair table table_name;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。