renyupeng преди 3 години
родител
ревизия
4d98f791d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Apietl/kwai_etl/report/UnitDailyReport.py

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

@@ -208,7 +208,7 @@ class UnitDailyReport:
                  left join
              `jeecg-boot`.ctop_account_attribution_info sys
              on report.advertiser_id = sys.account_id
-        where report.stat_date between {start_time} and {end_time} order by unit_id,stat_date limit {num},3000""".\
+        where report.stat_date between {start_time} and {end_time} order by unit_id,stat_date limit {num},20000""".\
                     format(start_time=self.start_time, end_time=self.end_time, num=i * 20000)
                 TidbConn.exec_sql(self.conn, sql)
                 self.conn.commit()