|
@@ -29,7 +29,7 @@ class MateirialVideoHourlyReport:
|
|
totalNum = TidbConn.quary(sql)[0][0]
|
|
totalNum = TidbConn.quary(sql)[0][0]
|
|
pageCount = ceil(totalNum / 20000)
|
|
pageCount = ceil(totalNum / 20000)
|
|
for i in range(pageCount):
|
|
for i in range(pageCount):
|
|
- sql = """replace into application.kuaishou_material_video_report_hourl_dw
|
|
|
|
|
|
+ sql = """replace into application.kuaishou_material_video_report_hourly_dw
|
|
(account_id, project_id, product_id, advertiser_id,
|
|
(account_id, project_id, product_id, advertiser_id,
|
|
company_id, account_name, project_name,
|
|
company_id, account_name, project_name,
|
|
advertiser_name, company_name, sale_id, user_id,
|
|
advertiser_name, company_name, sale_id, user_id,
|