Commit 406887f4 authored by litaolemo's avatar litaolemo

update

parent ab48a10f
...@@ -129,7 +129,7 @@ for t in range(0, 3): ...@@ -129,7 +129,7 @@ for t in range(0, 3):
(--卡片,卡片id和session_id去重 (--卡片,卡片id和session_id去重
SELECT partition_date, SELECT partition_date,
cl_id distinct(cl_id)
from from
( SELECT partition_date, ( SELECT partition_date,
cl_id, cl_id,
...@@ -155,7 +155,7 @@ for t in range(0, 3): ...@@ -155,7 +155,7 @@ for t in range(0, 3):
)a )a
group by partition_date,cl_id,card_id having session_pv0 >0 group by partition_date,cl_id,card_id having session_pv0 >0
UNION UNION ALL
SELECT partition_date, SELECT partition_date,
cl_id, cl_id,
count(distinct card_id) as session_pv0 count(distinct card_id) as session_pv0
......
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