-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Syntax error parsing WHERE id IN (SELECT 1 FROM dual)
#8522
Comments
jcberleur
changed the title
Syntax error parsing `WHERE id IN (SELECT 1 FROM dual)
Syntax error parsing Jul 23, 2021
WHERE id IN (SELECT 1 FROM dual)
SELECT IN seems to have been added in #8155, but subquery support is still missing
|
Which planner version are you using, V3 or Gen4 or Gen4Fallback? Also, have you turned on query normalization on the vtgate? |
3 tasks
I tried the default and Gen4 |
Yes that makes sense, the problem is in the rewriter, which should be fixed by #8589. Work on supporting subqueries in Gen4 is still underway. |
Please reopen if the issue persists. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following query (generated by an orm)
I get this error
using the
EXPLAIN
or passing the query directly to mysql/mariadb works correctlyversion
Running
vitess/lite:v10.0.2
with the kubernetes operatorVersion: 10.0.2 (Git revision fc7847093 branch 'heads/v10.0.2') built on Thu May 27 09:00:55 UTC 2021 by vitess@c8edcabbb04a using go1.15.6 linux/amd64
The text was updated successfully, but these errors were encountered: