Skip to content
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

Refactor Show plans #7185

Merged
merged 5 commits into from
Dec 16, 2020
Merged

Refactor Show plans #7185

merged 5 commits into from
Dec 16, 2020

Conversation

harshit-gangal
Copy link
Member

Backport

NO

Status

DRAFT

Description

Refactor some of the show queries and move to planner.

Related Issue(s)

List related PRs against other branches:
Closes #6997

Impacted Areas in Vitess

List general components of the application that this PR will affect:

  • Query Serving

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
maxLenField := &querypb.Field{Name: "Maxlen", Type: sqltypes.Int32}
fields = append(fields, maxLenField)

charsets := []string{utf8, utf8mb4}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean we only support 2 charsets? Cant we send this query down to any MySQL instance and return its output?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just about moving code. On VTGate level we are not able to handle it. I think we can send it down.
cc: @deepthi

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@harshit-gangal harshit-gangal marked this pull request as ready for review December 16, 2020 11:16
@harshit-gangal harshit-gangal merged commit 884ab4c into vitessio:master Dec 16, 2020
@harshit-gangal harshit-gangal deleted the show-basic branch December 16, 2020 11:16
@askdba askdba added this to the v9.0 milestone Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for Show procedure status
3 participants