[SPARK-14346] Fix scala-2.10 build
## What changes were proposed in this pull request? Scala 2.10 build was broken by #13079. I am reverting the change of that line. Author: Yin Huai <yhuai@databricks.com> Closes #13157 from yhuai/SPARK-14346-fix-scala2.10.
This commit is contained in:
parent
25b315e6ca
commit
2a5db9c140
|
@ -208,6 +208,6 @@ case class SimpleCatalogRelation(
|
|||
}
|
||||
|
||||
require(
|
||||
metadata.identifier.database.contains(databaseName),
|
||||
metadata.identifier.database == Some(databaseName),
|
||||
"provided database does not match the one specified in the table definition")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue