diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-29 12:45:43 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-29 12:45:43 -0700 |
commit | d612228eff9ed6589b2a94658986ec06ed833bf5 (patch) | |
tree | b489bf7a596345c7900b5bd5fb39c790151d1464 /sql | |
parent | d26c42982c18da8fb1b21c9eb75aef9364d1b992 (diff) | |
download | spark-d612228eff9ed6589b2a94658986ec06ed833bf5.tar.gz spark-d612228eff9ed6589b2a94658986ec06ed833bf5.tar.bz2 spark-d612228eff9ed6589b2a94658986ec06ed833bf5.zip |
[MINOR][SQL] Fix typos by replacing 'much' with 'match'.
## What changes were proposed in this pull request?
This PR fixes two trivial typos: 'does not **much**' --> 'does not **match**'.
## How was this patch tested?
Manual.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #12042 from dongjoon-hyun/fix_typo_by_replacing_much_with_match.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala | 2 | ||||
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala index 8bb8e09a28..9f270236ae 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala @@ -291,5 +291,5 @@ case class CatalogRelation( override def output: Seq[Attribute] = Seq.empty require(metadata.identifier.database == Some(db), - "provided database does not much the one specified in the table definition") + "provided database does not match the one specified in the table definition") } diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala index f75509fe80..11205ae67c 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala @@ -76,7 +76,7 @@ private[spark] class HiveExternalCatalog(client: HiveClient) extends ExternalCat private def requireDbMatches(db: String, table: CatalogTable): Unit = { if (table.identifier.database != Some(db)) { throw new AnalysisException( - s"Provided database $db does not much the one specified in the " + + s"Provided database $db does not match the one specified in the " + s"table definition (${table.identifier.database.getOrElse("n/a")})") } } |