GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/23259
[SPARK-26215][SQL][WIP] Define reserved/non-reserved keywords based on the
ANSI SQL standard
## What changes were proposed in this pull request?
This pr targeted to define reserved/non-reserved keywords based on the ANSI
SQL standard.
TODO:
- Where should we hanlde reserved key words?
- Which SQL standard does Spark SQL follow (e.g., 2011 or 2016)?
- Where should we docment the list of reserved/non-reserved key words?
- Others?
## How was this patch tested?
Added tests in `TableIdentifierParserSuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark SPARK-26215-WIP
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/23259.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23259
----
commit 01bc38347496a6194b46ace0feb7d2cd1adb614e
Author: Takeshi Yamamuro <yamamuro@...>
Date: 2018-12-06T08:04:49Z
WIP: SQL Reserved/Non-Reserved Key Words
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]