/opt/cloudera/parcels/CDH-5.15.1-1.cdh5.15.1.p0.4/bin/hive -e"LOAD DATA INPATH '/user/hive/warehouse/ods_jg_yp.db/ods_plate_realtime_tmp' INTO TABLE ods_jg_yp.ods_plate_realtime_tmp"
sleep 60
/opt/cloudera/parcels/CDH-5.15.1-1.cdh5.15.1.p0.4/bin/hive -e"set hive.exec.dynamic.partition=true;set hive.exec.dynamic.partition.mode=nonstrict;insert overwrite table ods_jg_yp.ods_plate_realtime partition(day) select a.*,substr(a.watch_time,0,10) day from ods_jg_yp.ods_plate_realtime_tmp a"