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';
                     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
 REPLACE INTO application.app_kuaishou_video_report_busi_m
 SELECT
 SELECT
-date_format({date_time},'%Y%m%d') stat_mon,
+date_format({date_time},'%Y%m') stat_mon,
 report.account_id,
 report.account_id,
 report.photo_id,
 report.photo_id,
 report.image_token,
 report.image_token,