-
- Downloads
[SPARK-6730][SQL] Allow using keyword as identifier in OPTIONS
JIRA: https://issues.apache.org/jira/browse/SPARK-6730 It is very possible that keyword will be used as identifier in `OPTIONS`, this pr makes it works. However, another approach is that we can request that `OPTIONS` can't include keywords and has to use alternative identifier (e.g. table -> cassandraTable) if needed. If so, please let me know to close this pr. Thanks. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #5520 from viirya/relax_options and squashes the following commits: 339fd68 [Liang-Chi Hsieh] Use regex parser. 92be11c [Liang-Chi Hsieh] Allow using keyword as identifier in OPTIONS.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/sources/ddl.scala 14 additions, 1 deletion...ore/src/main/scala/org/apache/spark/sql/sources/ddl.scala
- sql/core/src/test/scala/org/apache/spark/sql/sources/DDLTestSuite.scala 6 additions, 5 deletions...est/scala/org/apache/spark/sql/sources/DDLTestSuite.scala
Please register or sign in to comment