set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
insert overwrite table --注意是覆盖写
table1 PARTITION (dt)
select * from table2 ;
set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
insert overwrite table --注意是覆盖写
table1 PARTITION (dt)
select * from table2 ;