[SPARK-4658][SQL] Code documentation issue in DDL of datasource API
Author: ravipesala <ravindra.pesala@huawei.com> Closes #3516 from ravipesala/ddl_doc and squashes the following commits: d101fdf [ravipesala] Style issues fixed d2238cd [ravipesala] Corrected documentation
This commit is contained in:
parent
6a9ff19dc0
commit
bc353819cc
|
@ -39,8 +39,8 @@ import scala.collection.JavaConversions._
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows creation of parquet based tables using the syntax
|
* Allows creation of parquet based tables using the syntax
|
||||||
* `CREATE TABLE ... USING org.apache.spark.sql.parquet`. Currently the only option required
|
* `CREATE TEMPORARY TABLE ... USING org.apache.spark.sql.parquet`. Currently the only option
|
||||||
* is `path`, which should be the location of a collection of, optionally partitioned,
|
* required is `path`, which should be the location of a collection of, optionally partitioned,
|
||||||
* parquet files.
|
* parquet files.
|
||||||
*/
|
*/
|
||||||
class DefaultSource extends RelationProvider {
|
class DefaultSource extends RelationProvider {
|
||||||
|
|
|
@ -67,7 +67,7 @@ private[sql] class DDLParser extends StandardTokenParsers with PackratParsers wi
|
||||||
protected lazy val ddl: Parser[LogicalPlan] = createTable
|
protected lazy val ddl: Parser[LogicalPlan] = createTable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CREATE FOREIGN TEMPORARY TABLE avroTable
|
* CREATE TEMPORARY TABLE avroTable
|
||||||
* USING org.apache.spark.sql.avro
|
* USING org.apache.spark.sql.avro
|
||||||
* OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
|
* OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue