Commit 90695d7b authored by 魏艺敏's avatar 魏艺敏

push codes

parent f56cb597
...@@ -567,7 +567,7 @@ group by t1.partition_day ...@@ -567,7 +567,7 @@ group by t1.partition_day
--push质量数据 --push质量数据
INSERT OVERWRITE TABLE pm.tl_pm_push_quality_d PARTITION (PARTITION_DAY = ${partition_day})
SELECT partition_date as day_id SELECT partition_date as day_id
,device_os_type ,device_os_type
,round(nvl((op_only_wel_pv/op_only_wel_uv)/(wel_pv/wel_uv),0),2) as op_only_wel ,round(nvl((op_only_wel_pv/op_only_wel_uv)/(wel_pv/wel_uv),0),2) as op_only_wel
......
...@@ -756,8 +756,8 @@ LEFT JOIN ...@@ -756,8 +756,8 @@ LEFT JOIN
FROM online.ml_user_updates FROM online.ml_user_updates
WHERE partition_date=regexp_replace(DATE_SUB(current_date,1) ,'-','') WHERE partition_date=regexp_replace(DATE_SUB(current_date,1) ,'-','')
)t1 )t1
JOIN JOIN
( --医生账号 ( --医生账号
SELECT distinct user_id SELECT distinct user_id
FROM online.tl_hdfs_doctor_view FROM online.tl_hdfs_doctor_view
WHERE partition_date = regexp_replace(DATE_SUB(current_date,1) ,'-','') WHERE partition_date = regexp_replace(DATE_SUB(current_date,1) ,'-','')
......
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