|
@@ -103,7 +103,7 @@ on t1.account_id=t3.account_id
|
|
|
left join
|
|
|
(select t2.account_id,count(distinct t1.material_id) new_eff_material from
|
|
|
(select material_id from application.app_kuaishou_material_info where effect_date={date_time}) t1
|
|
|
-inner join
|
|
|
+left join
|
|
|
(select distinct account_id,signature from `media_api`.kuaishou_video_list where date_format(stat_date,'%Y%m%d')>=
|
|
|
date_sub({date_time},INTERVAL 29 DAY)) t2
|
|
|
on t1.material_id=t2.signature group by t2.account_id) t4
|
|
@@ -111,7 +111,7 @@ on t1.account_id=t4.account_id
|
|
|
left join
|
|
|
(select t2.account_id,count(distinct t1.material_id) new_hot_material from
|
|
|
(select material_id from application.app_kuaishou_material_info where faddish_date={date_time}) t1
|
|
|
-inner join
|
|
|
+left join
|
|
|
(select distinct account_id,signature from `media_api`.kuaishou_video_list where date_format(stat_date,'%Y%m%d')>=
|
|
|
date_sub({date_time},INTERVAL 29 DAY)) t2
|
|
|
on t1.material_id=t2.signature group by t2.account_id) t5
|