[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:
ravipesala 2014-12-01 13:31:27 -08:00 committed by Michael Armbrust
parent 6a9ff19dc0
commit bc353819cc
2 changed files with 3 additions and 3 deletions

View file

@ -39,8 +39,8 @@ import scala.collection.JavaConversions._
/**
* Allows creation of parquet based tables using the syntax
* `CREATE TABLE ... USING org.apache.spark.sql.parquet`. Currently the only option required
* is `path`, which should be the location of a collection of, optionally partitioned,
* `CREATE TEMPORARY TABLE ... USING org.apache.spark.sql.parquet`. Currently the only option
* required is `path`, which should be the location of a collection of, optionally partitioned,
* parquet files.
*/
class DefaultSource extends RelationProvider {

View file

@ -67,7 +67,7 @@ private[sql] class DDLParser extends StandardTokenParsers with PackratParsers wi
protected lazy val ddl: Parser[LogicalPlan] = createTable
/**
* CREATE FOREIGN TEMPORARY TABLE avroTable
* CREATE TEMPORARY TABLE avroTable
* USING org.apache.spark.sql.avro
* OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
*/