-
Notifications
You must be signed in to change notification settings - Fork 267
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
Query Plan Guidance Framework #661
Conversation
bajinsheng
commented
Dec 18, 2022
•
edited
edited
- Add the framework of Query Plan Guidance (QPG).
- Add the QPG implementation of SQLite CockroachDB and TiDB.
@@ -285,4 +287,57 @@ public String getDBMSName() { | |||
return "cockroachdb"; | |||
} | |||
|
|||
@Override | |||
public String getQueryPlan(String selectStr, CockroachDBGlobalState globalState) throws Exception { |
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.
It would be great to add a couple of test cases (perhaps in a future PR) for parsing the query plans to ensure that everything still works after updating the database systems.
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!