renyupeng %!s(int64=3) %!d(string=hai) anos
pai
achega
4df0b7b955
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Apietl/kwai_etl/report/MateirialVideoDailyReport.py

+ 1 - 0
Apietl/kwai_etl/report/MateirialVideoDailyReport.py

@@ -282,6 +282,7 @@ from media_api.kuaishou_material_video_report_daily report
  where report.stat_date between {start_time} and {end_time} and  report.photo_id!=0
   order by advertiser_id,photo_id ,stat_date limit {num},20000""".format(
                     start_time=self.start_time, end_time=self.end_time, num=i * 20000)
+                trace_log.info(sql)
                 TidbConn.exec_sql(self.conn, sql)
                 self.conn.commit()
             return 0