Commit 9ac2998f authored by litaolemo's avatar litaolemo

update

parent 63a02b4c
......@@ -257,8 +257,7 @@ FROM
LEFT JOIN distinct_device_id_view
on t1.cl_id=distinct_device_id_view.device_id
WHERE (spam_pv.device_id IS NULL or spam_pv.device_id ='')
and (distinct_device_id_view.device_id is null or distinct_device_id_view.device_id ='')
WHERE (distinct_device_id_view.device_id IS NULL or distinct_device_id_view.device_id ='')
GROUP BY t1.partition_date,t2.active_type,device_os_type,channel
)t
)t3
......@@ -350,8 +349,7 @@ LEFT JOIN
on t1.cl_id=dev.device_id and t1.partition_date = dev.partition_date
LEFT JOIN distinct_device_id_view
on t1.cl_id=distinct_device_id_view.device_id
WHERE (spam_pv.device_id IS NULL or spam_pv.device_id ='')
and (distinct_device_id_view.device_id is null or distinct_device_id_view.device_id ='')
WHERE (distinct_device_id_view.device_id IS NULL or distinct_device_id_view.device_id ='')
GROUP BY t1.partition_date,active_type,device_os_type,channel
)t4
on t3.partition_date=t4.partition_date and t3.active_type=t4.active_type and t3.device_os_type = t4.device_os_type AND t3.channel = t4.channel
......
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