Commit da47d739 authored by 宋柯's avatar 宋柯

降配

parent 41085d81
......@@ -89,7 +89,7 @@ FROM
( --渠道,新老
SELECT partition_date
,device_id
,case when substr(md5('androidid_1aefc7584e57983e'),-1) in ('0','1', '2', '3', '4', '5', '6', '7') then 'lr' else 'smr' end as rank_type
,case when substr(md5(device_id),-1) in ('0','1', '2', '3', '4', '5', '6', '7') then 'lr' else 'smr' end as rank_type
,device_os_type
,CASE WHEN active_type = '4' THEN '老活' when active_type in ('1','2') then '新增' END as active_type
FROM online.ml_device_day_active_status
......
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