GitHub user hvanhovell opened a pull request:

    https://github.com/apache/spark/pull/13534

    [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 join aliases, in this case most names are allowed except 
for: ```anti, full, inner, left, semi, right, natural, union, intersect, 
except, database, on, join, cross, select, from, where, having, from, to, 
table, with, not```.
    
    ## How was this patch tested?
    I have added/move/renamed test in the catalyst `*ParserSuite`s.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hvanhovell/spark SPARK-15789

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13534.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 #13534
    
----
commit 5508a8b04db995780ef6c450064a69180c69a460
Author: Herman van Hovell <[email protected]>
Date:   2016-06-06T21:01:11Z

    Allow reserved keywords in most places

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to