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/parser: unreserve VIEW #27204

Merged
merged 1 commit into from
Jul 9, 2018
Merged

Conversation

knz
Copy link
Contributor

@knz knz commented Jul 5, 2018

Found while looking at #26993.

VIEW does not need to be a reserved keyword. In fact, it sounds
innocuous enough for users to want to use it as a column name. So make
it an unreserved keyword.

Release note (sql change): CockroachDB now allows clients to use the
word view as identifier like in PostgreSQL.

VIEW does not need to be a reserved keyword. In fact, it sounds
innocuous enough for users to want to use it as a column name. So make
it an unreserved keyword.

Release note (sql change): CockroachDB now allows clients to use the
word `view` as identifier like in PostgreSQL.
@knz knz requested a review from justinj July 5, 2018 08:46
@knz knz requested a review from a team July 5, 2018 08:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@justinj justinj left a comment

Choose a reason for hiding this comment

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

:lgtm:, sorry for the delay!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@knz
Copy link
Contributor Author

knz commented Jul 9, 2018

Dont worry :)

TFYR!

bors r+

craig bot pushed a commit that referenced this pull request Jul 9, 2018
27110: opt: add support for reverse scans r=madhavsuresh a=madhavsuresh

The optimizer does not generate plans which include reverse scans.
This PR adds support logical support for reverse scans.

Release note: None

27145: ui: depend on babel-polyfill r=couchand a=benesch

babel-polyfill is the standard means of importing the necessary set of
polyfills for the configured babel preset. We were previously forced to
manually importing the polyfills we needed because the combination of
Node 6, JSDom, and babel-polyfill was broken. Since we're no longer
using JSDom (see 7e89701), we can use babel-polyfill.

Release note: None

27204: sql/parser: unreserve VIEW r=knz a=knz

Found while looking at #26993.

VIEW does not need to be a reserved keyword. In fact, it sounds
innocuous enough for users to want to use it as a column name. So make
it an unreserved keyword.

Release note (sql change): CockroachDB now allows clients to use the
word `view` as identifier like in PostgreSQL.

Co-authored-by: madhavsuresh <[email protected]>
Co-authored-by: Nikhil Benesch <[email protected]>
Co-authored-by: Raphael 'kena' Poss <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jul 9, 2018

Build succeeded

@craig craig bot merged commit 67c0cfa into cockroachdb:master Jul 9, 2018
@knz knz deleted the 20180705-unreserve-view branch February 14, 2019 12:50
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