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

sql: add new keywords to bare_label_keyword list #95985

Closed
wants to merge 1 commit into from

Conversation

stevendanna
Copy link
Collaborator

This adds all the new keywords added in 23.1 as of this commit to the bare labels list:

CAPABILITIES
CAPABILITY
DETAILS
EXTREMES
INVISIBLE
RETENTION
TENANT_NAME
TENANTS
INDEX_AFTER_ORDER_BY_BEFORE_AT
INDEX_BEFORE_NAME_THEN_PAREN
INDEX_BEFORE_PAREN
NOTHING_AFTER_RETURNING

Note that INDEX and NOTHING moved from a reserved keyword to an unreserved keyword, but I didn't include it here so that this commit only adds the new keywords in 23.1.

Epic: None

Release note: None

This adds all the new keywords added in 23.1 as of this commit to the
bare labels list:

    CAPABILITIES
    CAPABILITY
    DETAILS
    EXTREMES
    INVISIBLE
    RETENTION
    TENANT_NAME
    TENANTS
    INDEX_AFTER_ORDER_BY_BEFORE_AT
    INDEX_BEFORE_NAME_THEN_PAREN
    INDEX_BEFORE_PAREN
    NOTHING_AFTER_RETURNING

Note that `INDEX` and `NOTHING` moved from a reserved keyword to an
unreserved keyword, but I didn't include it here so that this commit
only adds the new keywords in 23.1.

Epic: None

Release note: None
@stevendanna stevendanna requested a review from a team as a code owner January 26, 2023 11:52
@blathers-crl
Copy link

blathers-crl bot commented Jan 26, 2023

It looks like your PR touches SQL parser code but doesn't add or edit parser tests. Please make sure you add or edit parser tests if you edit the parser.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@stevendanna
Copy link
Collaborator Author

Once bors gets around to merging #95691 I'll update this PR with the remaining keywords and some tests.

@stevendanna
Copy link
Collaborator Author

Fixed more completely in #97878

@stevendanna stevendanna closed this Mar 2, 2023
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.

2 participants