Skip to content

Remove non standard keywords from show#5124

Merged
sougou merged 2 commits intovitessio:masterfrom
planetscale:tinyspeck-remove-non-standard-keywords-from-show
Aug 21, 2019
Merged

Remove non standard keywords from show#5124
sougou merged 2 commits intovitessio:masterfrom
planetscale:tinyspeck-remove-non-standard-keywords-from-show

Conversation

@saifalharthi
Copy link
Copy Markdown
Contributor

This is a continuation from #4384

demmer and others added 2 commits February 23, 2019 07:57
Since the vtgate executor accepts arbitrary sql identifiers as the
type value for `show` statements, remove vitess-specific keywords
from the grammar for things like `vitess_keyspaces`, `vitess_shards`,
and more.

Along the way, add support for `show keyspaces` and make sure to
lowercase the show target.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
@saifalharthi saifalharthi requested a review from sougou as a code owner August 21, 2019 21:08
@sougou sougou merged commit b5207f0 into vitessio:master Aug 21, 2019
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.

3 participants