如何批量按分区插入数据

在最前端作如下属性设置。可以动态分区插数

set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;

 

 

会根据动态分区日期进行插数

posted @ 2019-10-18 09:30  TryMyBest!  阅读(689)  评论(0编辑  收藏  举报