renyupeng 3 年之前
父节点
当前提交
63d7f39c20

+ 2 - 2
Apietl/bytedance_etl/Q4Task/AppBytedanceFileVideoGetAll.py

@@ -170,11 +170,11 @@ from (
       group by code, tag_category_id, tag_category_name, parent_id, parent_name) m
      on v.signature = m.code
          left join (
-   select signature,effect_date as stat_datetime  from application.hot_mateiral where media_id =1 
+   select signature,effect_date as stat_datetime  from application.effect_material where media_id =1 
 ) effect
                    on v.signature = effect.signature
          left join (
-  select signature,hot_date as stat_datetime from application.hot_mateiral where media_id =1 
+  select signature,hot_date as stat_datetime from application.hot_material where media_id =1 
 ) hot
                    on v.signature = hot.signature
 group by advertiser_id, id,  v.signature, material_id, tag_category_id, parent_id, tag_code       

+ 2 - 2
Apietl/kwai_etl/Q4Task/AppKuaishouVideoListAll.py

@@ -156,11 +156,11 @@ from (
       group by code, tag_category_id, tag_category_name, parent_id, parent_name) m
      on v.signature = m.code
          left join (
-                select signature,effect_date as stat_date from application.effect_mateiral where media_id =2
+                select signature,effect_date as stat_date from application.effect_material where media_id =2
 ) effect
                    on effect.signature = v.signature
          left join (
-     select signature,hot_date as stat_date from application.hot_mateiral where media_id =2
+     select signature,hot_date as stat_date from application.hot_material where media_id =2
 ) hot
                    on hot.signature = v.signature
 group by account_id, photo_id, v.stat_date, v.signature, tag_category_id, parent_id, tag_code