aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-03-29 12:45:43 -0700
committerReynold Xin <rxin@databricks.com>2016-03-29 12:45:43 -0700
commitd612228eff9ed6589b2a94658986ec06ed833bf5 (patch)
treeb489bf7a596345c7900b5bd5fb39c790151d1464 /sql/hive
parentd26c42982c18da8fb1b21c9eb75aef9364d1b992 (diff)
downloadspark-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/hive')
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala2
1 files changed, 1 insertions, 1 deletions
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")})")
}
}