diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2015-02-17 12:24:13 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-17 12:24:13 -0800 |
commit | ac506b7c2846f656e03839bbd0e93827c7cc613e (patch) | |
tree | 890bc018ca958e62818a234a1a877cc8ec243fde /sql/hive | |
parent | 4611de1cef7363bc71ec608560dfd866ae477747 (diff) | |
download | spark-ac506b7c2846f656e03839bbd0e93827c7cc613e.tar.gz spark-ac506b7c2846f656e03839bbd0e93827c7cc613e.tar.bz2 spark-ac506b7c2846f656e03839bbd0e93827c7cc613e.zip |
[Minor][SQL] Use same function to check path parameter in JSONRelation
Author: Liang-Chi Hsieh <viirya@gmail.com>
Closes #4649 from viirya/use_checkpath and squashes the following commits:
0f9a1a1 [Liang-Chi Hsieh] Use same function to check path parameter.
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala | 2 |
1 files changed, 1 insertions, 1 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 0263e3bb56..485d5c95bf 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 @@ -547,7 +547,7 @@ class MetastoreDataSourcesSuite extends QueryTest with BeforeAndAfterEach { Map.empty[String, String]) }.getMessage assert( - message.contains("Option 'path' not specified"), + message.contains("'path' must be specified for json data."), "We should complain that path is not specified.") sql("DROP TABLE savedJsonTable") |