内外部表转换

hive中查看表类型:desc formatted 表名

内部表转外部表 alter table 表名 set tblproperties('EXTERNAL'='TRUE');

外部表转内部表 alter table 表名 set tblproperties('EXTERNAL'='FALSE');

posted @ 2023-07-17 17:49  阿飞藏泪  阅读(21)  评论(0编辑  收藏  举报
1 2 3
4