-
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
Add support for more queries #14369
Add support for more queries #14369
Conversation
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
rc.TABLE_NAME = kcu.TABLE_NAME | ||
AND | ||
rc.CONSTRAINT_NAME = kcu.CONSTRAINT_NAME` | ||
utils.AssertMatches(t, mcmp.VtConn, query, "[]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to modify the DDL such that the query results in some rows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
5be20c3
to
e4b1d04
Compare
1bd9da1
to
181c461
Compare
Signed-off-by: Andres Taylor <[email protected]>
Description
This PR removes limitations that were no longer necessary after the planner refactoring that happened this year.
In particular, we can allow most queries to run inside derived tables. This was blocking important queries from the TypeORM framework to work on Vitess.
Related Issue(s)
Fixes #9214
Checklist