Commit 5727192e authored by 赵建伟's avatar 赵建伟

Merge branch 'yindanlei' into 'master'

add doubtful_channel report codes

See merge request !23
parents ca5c1f03 4d7c262a
......@@ -21,7 +21,7 @@ FROM
,device_id,first_channel_source_type,first_city
,case WHEN active_type = '4' THEN '老活'
WHEN active_type in ('1','2') then '新增' END as active_type
FROM ml_device_day_active_status
FROM online.ml_device_day_active_status
where partition_date >= '20200101'
AND partition_date < regexp_replace(current_date ,'-','')
AND active_type in ('1','2','4')
......@@ -37,7 +37,7 @@ FROM
LEFT JOIN
(
SELECT partition_date,cl_id
from bl_hdfs_maidian_updates
from online.bl_hdfs_maidian_updates
where partition_date >= '20200101'
AND partition_date < regexp_replace(current_date ,'-','')
AND action = 'popup_view'
......@@ -50,7 +50,7 @@ LEFT JOIN
LEFT JOIN
(
SELECT partition_date,cl_id
from bl_hdfs_maidian_updates
from online.bl_hdfs_maidian_updates
where partition_date >= '20200101'
AND partition_date < regexp_replace(current_date ,'-','')
AND action = 'page_view'
......
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