renyupeng 1 年之前
父节点
当前提交
184640360b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Apietl/task/BytedanceMaterialMd5FristCostDateUpdate.py

+ 1 - 1
Apietl/task/BytedanceMaterialMd5FristCostDateUpdate.py

@@ -26,7 +26,7 @@ class BytedanceMaterialMd5FristCostDateUpdate:
         try:
         try:
             sql = """
             sql = """
 replace into application.bytedance_material_md5_frist_cost_time
 replace into application.bytedance_material_md5_frist_cost_time
-select a.signature,
+select a.material_id,a.signature,
 case when b.first_cost_time is null then a.stat_datetime 
 case when b.first_cost_time is null then a.stat_datetime 
 when a.stat_datetime<b.first_cost_time then a.stat_datetime
 when a.stat_datetime<b.first_cost_time then a.stat_datetime
 else b.first_cost_time end as first_cost_time
 else b.first_cost_time end as first_cost_time