diff options
author | Yin Huai <yhuai@databricks.com> | 2015-02-10 17:06:12 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-10 17:06:12 -0800 |
commit | e28b6bdbb5c5e4fd62ec0b547b77719c3f7e476e (patch) | |
tree | 8562a50ece26427a8574cb60b3ce3f04ff8cb89e /sql/hive/src | |
parent | 2d50a010ff57a861b13c2088ac048662d535f5e7 (diff) | |
download | spark-e28b6bdbb5c5e4fd62ec0b547b77719c3f7e476e.tar.gz spark-e28b6bdbb5c5e4fd62ec0b547b77719c3f7e476e.tar.bz2 spark-e28b6bdbb5c5e4fd62ec0b547b77719c3f7e476e.zip |
[SQL] Make Options in the data source API CREATE TABLE statements optional.
Users will not need to put `Options()` in a CREATE TABLE statement when there is not option provided.
Author: Yin Huai <yhuai@databricks.com>
Closes #4515 from yhuai/makeOptionsOptional and squashes the following commits:
1a898d3 [Yin Huai] Make options optional.
Diffstat (limited to 'sql/hive/src')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala index 036efa84d7..9ce058909f 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala @@ -361,9 +361,7 @@ class MetastoreDataSourcesSuite extends QueryTest with BeforeAndAfterEach { s""" |CREATE TABLE ctasJsonTable |USING org.apache.spark.sql.json.DefaultSource - |OPTIONS ( - | - |) AS + |AS |SELECT * FROM jsonTable """.stripMargin) |