renyupeng 3 lat temu
rodzic
commit
813668b5ec

+ 1 - 1
Apietl/bytedance_etl/Q4Task/AppBytedanceCampaignReportBusiMonth.py

@@ -23,7 +23,7 @@ class AppBytedanceCampaignReportBusiMonth:
         try:
             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_bytedance_campaign_report_busi_m
-SELECT date_format({date_time},'%Y%m%d'), start_end_time,
+SELECT date_format({date_time},'%Y%m') start_end_time,
 report.account_id,
  report.campaign_id,
  report.campaign_name,