Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

特殊SQL可能导致soar评审卡住 #47

Closed
liuyhs opened this issue Oct 25, 2018 · 0 comments
Closed

特殊SQL可能导致soar评审卡住 #47

liuyhs opened this issue Oct 25, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@liuyhs
Copy link

liuyhs commented Oct 25, 2018

简单说:
我的sql在库里能执行,explain也能出结果,但是用soar就卡死不动了。

sql如下

SELECT 
  DATE_FORMAT(t.atm, '%Y-%m-%d'),
  COUNT(DISTINCT (t.usr)) 
FROM
  tb1 t 
WHERE t.atm > '2018-10-22 00:00:00' 
  AND t.agent LIKE '%Chrome%' 
  AND t.system = 'aaa' 
GROUP BY DATE_FORMAT(t.atm, '%Y-%m-%d') 
ORDER BY DATE_FORMAT(t.atm, '%Y-%m-%d');

麻烦大神看看,咋解决,多谢了

@martianzhang martianzhang added the bug Something isn't working label Oct 25, 2018
@martianzhang martianzhang changed the title sql执行有问题 特殊SQL可能导致soar评审卡住 Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants