Commit ace97e5d authored by 郭羽's avatar 郭羽

个性化push指标

parent 654192a1
...@@ -141,18 +141,7 @@ def getSql(startDay,endDay): ...@@ -141,18 +141,7 @@ def getSql(startDay,endDay):
group by msg_id,regexp_replace(labels['event'], '\\s+', ''),time_stamp group by msg_id,regexp_replace(labels['event'], '\\s+', ''),time_stamp
)c )c
on a.msg_id=c.msg_id on a.msg_id=c.msg_id
left join
(
select
partition_date
,device_id
from online.ml_device_day_active_status
where partition_date >= {startDay} and partition_date<{endDay}
AND active_type in ('1','2','3')
-- and device_os_type='ios'
)d
on a.partition_day=d.partition_date and a.device_id=d.device_id
where d.device_id is null
group by partition_day group by partition_day
,device_os_type ,device_os_type
,push_type ,push_type
......
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