spark-instrumented-optimizer/sql/catalyst/src/main
Herman van Hovell 91fbc880b6 [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.
2016-06-07 17:01:11 -07:00
..
antlr4/org/apache/spark/sql/catalyst/parser [SPARK-15789][SQL] Allow reserved keywords in most places 2016-06-07 17:01:11 -07:00
java/org/apache/spark/sql [SPARK-15686][SQL] Move user-facing streaming classes into sql.streaming 2016-06-01 10:14:40 -07:00
scala/org/apache/spark/sql [SPARK-15789][SQL] Allow reserved keywords in most places 2016-06-07 17:01:11 -07:00