Commit cb9b1c5f authored by litaolemo's avatar litaolemo

update

parent d89adf8d
...@@ -172,7 +172,6 @@ for t in range(0, task_days): ...@@ -172,7 +172,6 @@ for t in range(0, task_days):
GROUP BY query,active_type,device_os_type,channel GROUP BY query,active_type,device_os_type,channel
)t )t
)t3 )t3
on t1.query=t3.query and t1.active_type=t3.active_type and t1.device_os_type = t3.device_os_type AND t1.channel = t3.channel
LEFT JOIN LEFT JOIN
( (
...@@ -253,7 +252,7 @@ for t in range(0, task_days): ...@@ -253,7 +252,7 @@ for t in range(0, task_days):
on t1.cl_id=dev.device_id and t1.partition_date = dev.partition_date on t1.cl_id=dev.device_id and t1.partition_date = dev.partition_date
GROUP BY t1.query,active_type,device_os_type,channel GROUP BY t1.query,active_type,device_os_type,channel
)t4 )t4
on t1.query=t4.query and t1.active_type=t4.active_type and t1.device_os_type = t4.device_os_type AND t1.channel = t4.channel on t3.query=t4.query and t3.active_type=t4.active_type and t3.device_os_type = t4.device_os_type AND t3.channel = t4.channel
""".format(today_str=today_str,yesterday_str=yesterday_str,) """.format(today_str=today_str,yesterday_str=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