Commit 44f74d31 authored by litaolemo's avatar litaolemo

update

parent 0f2ee04f
......@@ -133,7 +133,11 @@ for t in range(2, 3):
)t1 JOIN
(--卡片,卡片id和session_id去重
SELECT partition_date,
SELECT partition_date,
cl_id
from
( SELECT partition_date,
cl_id,
count(distinct app_session_id) as session_pv0
FROM
......@@ -248,7 +252,7 @@ for t in range(2, 3):
app_session_id
)a
LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by partition_date,cl_id having session_pv0 >= 4
group by partition_date,cl_id having session_pv0 >= 4)
) t0 on t1.device_id = t0.cl_id
LEFT JOIN
(--精准曝光,卡片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