ck 4 лет назад
Родитель
Сommit
0a8150b0df
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      app/etl/dw/dw_channel_daily.py

+ 0 - 2
app/etl/dw/dw_channel_daily.py

@@ -64,8 +64,6 @@ select formatDateTime(reg_time,'%Y-%m-%d') reg_date,channel,count(1) user_order_
 
     data=ck.execute('select * from dw_daily_channel')
     insert_sql="insert into dw_channel_daily values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)"
-    db.dm.execute("truncate table dw_channel_daily")
-    db.dm.executeMany(insert_sql,data)
 
     db.quchen_text.execute("truncate table dw_channel_daily")
     db.quchen_text.executeMany(insert_sql,data)