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
[SPARK-27161][SQL][FOLLOWUP] Drops non-keywords from docs/sql-keywords.md #24125
Conversation
@cloud-fan |
@@ -1233,257 +1234,260 @@ nonReserved | |||
| YEARS | |||
; | |||
|
|||
// NOTE: If you add a new token in the list below, you should update | |||
// a list of keywords in `docs/sql-keywords.md`, too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a list
-> the list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also add
If you want to add a non-reserved keyword, please update `ansiNonReserved` and `nonReserved` as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
SESSION_USER: 'SESSION_USER'; | ||
SET: 'SET'; | ||
SETMINUS: 'MINUS'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we rename it to MINUS
? It's weird to have a keyword that doesn't match its name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I'll try.
@@ -1233,257 +1234,260 @@ nonReserved | |||
| YEARS | |||
; | |||
|
|||
// NOTE: If you add a new token in the list below, you should update | |||
// a list of keywords in `docs/sql-keywords.md`, too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add also update the TableIdentifierParserSuite
thanks for the followup! |
Test build #103610 has finished for PR 24125 at commit
|
c6d57be
to
4f3eaa1
Compare
It seems we cannot use
|
Test build #103640 has finished for PR 24125 at commit
|
Missed and I'll update soon. |
PERCENT has the same workaround;
|
thanks for the investigation! LGTM |
Test build #103645 has finished for PR 24125 at commit
|
Test build #103657 has finished for PR 24125 at commit
|
retest this please |
1 similar comment
retest this please |
Test build #103663 has finished for PR 24125 at commit
|
thanks, merging to master! |
What changes were proposed in this pull request?
This pr is a follow-up of #24093 and includes fixes below;
SqlBase.g4
in a alphabetical orderHow was this patch tested?
Pass Jenkins.