renyupeng 3 年 前
コミット
72857df4e5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Apietl/kwai_etl/Q4Task/AppKuaishouVideoReportBusiMonth.py

+ 1 - 1
Apietl/kwai_etl/Q4Task/AppKuaishouVideoReportBusiMonth.py

@@ -29,7 +29,7 @@ group by account_id """
                     sql = """SET sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
 REPLACE INTO application.app_kuaishou_video_report_busi_m
 SELECT
-date_format({date_time},'%Y%m%d') stat_mon,
+date_format({date_time},'%Y%m') stat_mon,
 report.account_id,
 report.photo_id,
 report.image_token,