Commit 2488819a authored by 魏艺敏's avatar 魏艺敏

push codes

parent a371d573
......@@ -138,7 +138,7 @@ FROM
partition_date
,device_id,device_os_type
,array(case when active_type in ('1','2') then '新增设备'
when active_type ='4' then '老活跃设备' end,'合计' as active_type
when active_type ='4' then '老活跃设备' end,'合计') as active_type
,array(case when substr(convup(setencryption(device_id,'sha-1'),16,10),-2,2)%20 = 0 then 'kyc灰度' else '非灰' end,'合计') as grey_type
FROM online.ml_device_day_active_status
where partition_date>=REGEXP_REPLACE(trunc(date_sub(current_date(),1),'MM'),'-','')
......
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