Commit 55a96b27 authored by litaolemo's avatar litaolemo

update

parent ea32b724
...@@ -231,7 +231,7 @@ left join ...@@ -231,7 +231,7 @@ left join
LEFT JOIN spam_pv on spam_pv.device_id= T.DEVICE_ID LEFT JOIN spam_pv on spam_pv.device_id= T.DEVICE_ID
LEFT JOIN dev_view on dev_view.device_id= T.DEVICE_ID LEFT JOIN dev_view on dev_view.device_id= T.DEVICE_ID
WHERE (spam_pv.device_id IS NULL or spam_pv.device_id = '') WHERE (spam_pv.device_id IS NULL or spam_pv.device_id = '')
and (dev.device_id is null or dev.device_id='') and (dev_view.device_id is null or dev_view.device_id='')
GROUP by D.DEVICE_OS_TYPE, GROUP by D.DEVICE_OS_TYPE,
D.ACTIVE_TYPE D.ACTIVE_TYPE
""".format(partition_day=yesterday_str) """.format(partition_day=yesterday_str)
......
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