Repository: spark Updated Branches: refs/heads/master d26c42982 -> d612228ef
[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 <[email protected]> Closes #12042 from dongjoon-hyun/fix_typo_by_replacing_much_with_match. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d612228e Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d612228e Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d612228e Branch: refs/heads/master Commit: d612228eff9ed6589b2a94658986ec06ed833bf5 Parents: d26c429 Author: Dongjoon Hyun <[email protected]> Authored: Tue Mar 29 12:45:43 2016 -0700 Committer: Reynold Xin <[email protected]> Committed: Tue Mar 29 12:45:43 2016 -0700 ---------------------------------------------------------------------- .../scala/org/apache/spark/sql/catalyst/catalog/interface.scala | 2 +- .../main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/d612228e/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala ---------------------------------------------------------------------- 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 8bb8e09..9f27023 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") } http://git-wip-us.apache.org/repos/asf/spark/blob/d612228e/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveExternalCatalog.scala ---------------------------------------------------------------------- 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 f75509f..11205ae 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")})") } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
