-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
reject valid aggregated query in only_full_group_by mode #22301
Comments
/unlabel sig/execution |
/label sig/planner |
I think this should be a planner bug |
/assign |
/assign |
After discussing with @winoros offline. We think we should change the severity from |
These SQL statements can work in TiDB:
But these statements will get the wrong results:
|
@xuyifangreeneyes @Reminiscent would you please provide an update or verify if the issue still exists? |
The issue still exists on the current master. Maybe we can open an tracking issue to collect all the issues on only_full_group_by and see how to improve or refactor only-full-group-by-checker. |
winoros#10 in our latest feature branch, this has been fixed |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: