加上 PARTITION(datestr) INSERT OVERWRITE data_macinfo_new PARTITION(datestr) SELECT * FROM tmp_macinfo_new;