from or_table
insert overwrite table1 name1 select …
insert into table2 name2 select …
注意:select 后边不用加from了
insert overwrite 和 insert into区别
前者直接覆盖,后者直接在原始数据中插入
【hive】多表插入
原文:https://www.cnblogs.com/zzhangyuhang/p/9792625.html