Commit 1d31b849 authored by litaolemo's avatar litaolemo

update

parent a36c9975
...@@ -197,7 +197,7 @@ for t in range(1, task_days): ...@@ -197,7 +197,7 @@ for t in range(1, task_days):
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 group by partition_date,card_content_type,cl_id,v.recommend_type,card_id
)t2 )t2
on t1.device_id=t2.cl_id and t1.partition_date=t2.partition_date where t2.session_pv >= 4 on t1.device_id=t2.cl_id and t1.partition_date=t2.partition_date having t2.session_pv >= 4
LEFT JOIN LEFT JOIN
(--卡片,卡片id和session_id去重 (--卡片,卡片id和session_id去重
SELECT partition_date, SELECT partition_date,
......
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