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

Handle non-keyword tokens FORMAT, TREE and VITESS #6445

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

systay
Copy link
Collaborator

@systay systay commented Jul 15, 2020

In 427f3c2, we introduced new tokens for FORMAT, TREE and VITESS. I missed adding these as non-reserved keywords, which made them inaccessible as identifiers.

  SELECT tree, format, vitess FROM test

is perfectly valid SQL, but became illegal with 427f3c2.

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from sougou as a code owner July 15, 2020 06:14
@systay systay added the Bug fix label Jul 15, 2020
Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay changed the title allow FORMAT as an identifier Handle non-keyword tokens FORMAT, TREE and VITESS Jul 15, 2020
@systay systay merged commit c8a5beb into vitessio:master Jul 15, 2020
@harshit-gangal harshit-gangal deleted the format branch July 17, 2020 16:36
@deepthi deepthi added this to the v7.0 milestone Jul 17, 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.

3 participants