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-14591] [SQL] Remove DataTypeParser and add more keywords to the nonReserved list. #12796
Conversation
Test build #57388 has finished for PR 12796 at commit
|
@@ -674,6 +674,8 @@ nonReserved | |||
| AT | NULLS | OVERWRITE | ALL | ALTER | AS | BETWEEN | BY | CREATE | DELETE | |||
| DESCRIBE | DROP | EXISTS | FALSE | FOR | GROUP | IN | INSERT | INTO | IS |LIKE | |||
| NULL | ORDER | OUTER | TABLE | TRUE | WITH | RLIKE | |||
| AND | CASE | CAST | CROSS | DISTINCT | DIV | ELSE | END | FROM | FUNCTION | HAVING | INTERVAL | JOIN| |
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.
cc @hvanhovell
Does adding things to this list cause any problems (performance?)?
@@ -674,6 +674,8 @@ nonReserved | |||
| AT | NULLS | OVERWRITE | ALL | ALTER | AS | BETWEEN | BY | CREATE | DELETE | |||
| DESCRIBE | DROP | EXISTS | FALSE | FOR | GROUP | IN | INSERT | INTO | IS |LIKE | |||
| NULL | ORDER | OUTER | TABLE | TRUE | WITH | RLIKE | |||
| AND | CASE | CAST | CROSS | DISTINCT | DIV | ELSE | END | FROM | FUNCTION | HAVING | INTERVAL | JOIN | |||
| MACRO | NOT | ON | OR | SELECT | STRATIFY | THEN | UNBOUNDED | WHEN | WHERE |
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.
From @rxin
cc @hvanhovell
Does adding things to this list cause any problems (performance?)?
Test build #57392 has finished for PR 12796 at commit
|
I have reverted the parser change. Since It's still good to only have a single parser to avoid any potential confusion. |
Test build #57406 has finished for PR 12796 at commit
|
Thanks - merging in master. |
What changes were proposed in this pull request?
CatalystSqlParser can parse data types. So, we do not need to have an individual DataTypeParser.
How was this patch tested?
Existing tests