Skip to content
Snippets Groups Projects
Commit d0d7ec53 authored by Yadong Qi's avatar Yadong Qi Committed by Reynold Xin
Browse files

[SPARK-12093][SQL] Fix the error of comment in DDLParser

Author: Yadong Qi <qiyadong2010@gmail.com>

Closes #10096 from watermen/patch-1.
parent de07d06a
No related branches found
No related tags found
No related merge requests found
......@@ -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 ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment