Commit 6c4dd0d6 authored by litaolemo's avatar litaolemo

update

parent 3185da2b
...@@ -153,7 +153,7 @@ select count(1),avg(session_pv),avg(session_pv2) from (SELECT partition_date, ...@@ -153,7 +153,7 @@ select count(1),avg(session_pv),avg(session_pv2) from (SELECT partition_date,
app_session_id app_session_id
)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 ) group by partition_date,card_content_type,cl_id,v.recommend_type ) having session_pv2 >0
""".format(start_date='20201018',end_date='20201025') """.format(start_date='20201018',end_date='20201025')
print(sql_search_ctr) print(sql_search_ctr)
......
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