Commit 68d9ac8d authored by litaolemo's avatar litaolemo

update

parent c1642720
......@@ -177,7 +177,7 @@ WHERE dev.device_id is null and t2.device_id is not null
when transaction_type like 'deeplink%' then array('deeplink策略','合计') end,
card_id,
app_session_id
)a on a.card_id = dev.device_id
)a on a.cl_id = dev.device_id
LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by cl_id having session_pv0 <= 8
""".format(partition_day=today_str)
......@@ -238,7 +238,7 @@ WHERE dev.device_id is null and t2.device_id is not null
when transaction_type like 'deeplink%' then array('deeplink策略','合计') end,
card_id,
app_session_id
)a on a.card_id = dev.device_id
)a on a.cl_id = dev.device_id
LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by cl_id having session_pv0 >= 16
""".format(partition_day=today_str)
......
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