Commit 58ec81b9 authored by litaolemo's avatar litaolemo

update

parent 1f039cd1
...@@ -196,7 +196,7 @@ for t in range(1, task_days): ...@@ -196,7 +196,7 @@ for t in range(1, task_days):
)a )a
LATERAL VIEW explode (a.recommend_type) v as recommend_type LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by partition_date,card_content_type,cl_id,v.recommend_type,card_id having session_pv >= 4 group by partition_date,card_content_type,cl_id,v.recommend_type,card_id having session_pv >= 4
)t2 having )t2
on t1.device_id=t2.cl_id and t1.partition_date=t2.partition_date on t1.device_id=t2.cl_id and t1.partition_date=t2.partition_date
LEFT JOIN LEFT JOIN
(--卡片,卡片id和session_id去重 (--卡片,卡片id和session_id去重
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment