1
This commit is contained in:
parent
ba9bb564dc
commit
da05dd532c
@ -1,3 +1,6 @@
|
|||||||
|
"""
|
||||||
|
清理测试数据
|
||||||
|
"""
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from settings import settings
|
from settings import settings
|
||||||
@ -22,7 +25,7 @@ where
|
|||||||
`#event_time`>addDays(now('UTC'),-3) and (
|
`#event_time`>addDays(now('UTC'),-3) and (
|
||||||
lower(`#os`) = 'windows'
|
lower(`#os`) = 'windows'
|
||||||
or svrindex not in {serverid}
|
or svrindex not in {serverid}
|
||||||
or svrindex is null )
|
)
|
||||||
|
|
||||||
group by `#account_id`, `#event_time`, `#event_name`,`#os`,`svrindex`
|
group by `#account_id`, `#event_time`, `#event_name`,`#os`,`svrindex`
|
||||||
having n = 1 limit 2000"""
|
having n = 1 limit 2000"""
|
||||||
|
Loading…
Reference in New Issue
Block a user