diff options
author | Yadong Qi <qiyadong2010@gmail.com> | 2015-12-03 08:48:49 +0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-12-03 08:48:49 +0800 |
commit | d0d7ec533062151269b300ed455cf150a69098c0 (patch) | |
tree | 6d2d4952fdb00b6239a6a6318f42a5481669b3ad | |
parent | de07d06abecf3516c95d099b6c01a86e0c8cfd8c (diff) | |
download | spark-d0d7ec533062151269b300ed455cf150a69098c0.tar.gz spark-d0d7ec533062151269b300ed455cf150a69098c0.tar.bz2 spark-d0d7ec533062151269b300ed455cf150a69098c0.zip |
[SPARK-12093][SQL] Fix the error of comment in DDLParser
Author: Yadong Qi <qiyadong2010@gmail.com>
Closes #10096 from watermen/patch-1.
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DDLParser.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DDLParser.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DDLParser.scala index 6969b423d0..f22508b210 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DDLParser.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DDLParser.scala @@ -66,15 +66,15 @@ class DDLParser(parseQuery: String => LogicalPlan) protected def start: Parser[LogicalPlan] = ddl /** - * `CREATE [TEMPORARY] TABLE avroTable [IF NOT EXISTS] + * `CREATE [TEMPORARY] TABLE [IF NOT EXISTS] avroTable * USING org.apache.spark.sql.avro * OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")` * or - * `CREATE [TEMPORARY] TABLE avroTable(intField int, stringField string...) [IF NOT EXISTS] + * `CREATE [TEMPORARY] TABLE [IF NOT EXISTS] avroTable(intField int, stringField string...) * USING org.apache.spark.sql.avro * OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")` * or - * `CREATE [TEMPORARY] TABLE avroTable [IF NOT EXISTS] + * `CREATE [TEMPORARY] TABLE [IF NOT EXISTS] avroTable * USING org.apache.spark.sql.avro * OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")` * AS SELECT ... |