Commit cd9db356 authored by 魏艺敏's avatar 魏艺敏

push codes

parent a688d5dd
......@@ -401,6 +401,7 @@ full join
,device_id,msg_id,'ios' as device_os_type
from bl.bl_et_bg_trackingpushlog_inc_d
where partition_day= regexp_replace(DATE_SUB(current_date,1) ,'-','')
and (device_type is null or device_type='ios')--在7.35新增了android的埋点,故7.35之后新增了device_type字段
group by partition_day,device_id,msg_id
union all
......@@ -492,7 +493,7 @@ FROM
FROM
(
select partition_day
,device_id,msg_id
,device_id,msg_id,case when device_type='android' then 'android' else 'ios' end as device_os_type
from bl.bl_et_bg_trackingpushlog_inc_d
where partition_day=regexp_replace(DATE_SUB(current_date,1) ,'-','')
group by partition_day,device_id,msg_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