-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 fails with error Subquery returns more than 1 row #30433
Comments
Another case:
TiDB: ERROR 1242 (21000): Subquery returns more than 1 row |
/assign |
/type compatibility |
error |
@winoros this seems to be a candidate of subq rewrite refactor feature. |
yes, this is an issue about how we deal with the subquery in the rewriting/resolving phase. |
It's not a one that can be easily backported. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Same environment with #30326
mysql_bk.sql: mysql_bk.sql.txt
Run the following sql:
2. What did you expect to see? (Required)
Empty set (0.001 sec)
3. What did you see instead (Required)
ERROR 1242 (21000): Subquery returns more than 1 row
4. What is your TiDB version? (Required)
4.0,5.0,5.1,5.2,5.3, master
The text was updated successfully, but these errors were encountered: