renyupeng 4 月之前
父節點
當前提交
19f4e57ce0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Apietl/kwai_etl/report/CampaignHourlyReport.py

+ 1 - 1
Apietl/kwai_etl/report/CampaignHourlyReport.py

@@ -25,7 +25,7 @@ class CampaignHourlyReport:
         try:
             sql = """select advertiser_id from media_api.kuaishou_campaign_report_hourly where 
             stat_date = {start_time}  and cost>0 group by advertiser_id""".format(
-                start_time=self.start_time, end_time=self.  end_time)
+                start_time=self.start_time)
             account_list = TidbConn.quary(self.conn, sql)
             for account_id in account_list:
                 sql = """replace into application.kuaishou_campaign_report_hourly_dw