diff options
author | Herman van Hovell <hvanhovell@databricks.com> | 2016-06-07 17:01:11 -0700 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-06-07 17:01:11 -0700 |
commit | 91fbc880b69bddcf5310afecc49df1102408e1f3 (patch) | |
tree | 65fb7b49bd2d8aa626f01a9e6fafbb9a2e8a4603 /launcher/src/main | |
parent | 0cfd6192f38932a26195a6a8dbbc637d67f5ec55 (diff) | |
download | spark-91fbc880b69bddcf5310afecc49df1102408e1f3.tar.gz spark-91fbc880b69bddcf5310afecc49df1102408e1f3.tar.bz2 spark-91fbc880b69bddcf5310afecc49df1102408e1f3.zip |
[SPARK-15789][SQL] Allow reserved keywords in most places
## What changes were proposed in this pull request?
The parser currently does not allow the use of some SQL keywords as table or field names. This PR adds supports for all keywords as identifier. The exception to this are table aliases, in this case most keywords are allowed except for join keywords (```anti, full, inner, left, semi, right, natural, on, join, cross```) and set-operator keywords (```union, intersect, except```).
## How was this patch tested?
I have added/move/renamed test in the catalyst `*ParserSuite`s.
Author: Herman van Hovell <hvanhovell@databricks.com>
Closes #13534 from hvanhovell/SPARK-15789.
Diffstat (limited to 'launcher/src/main')
0 files changed, 0 insertions, 0 deletions