소스 검색

"etl 日志"

renyupeng 3 년 전
부모
커밋
4df0b7b955
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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