[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:
Yin Huai 2016-05-17 18:02:31 -07:00
parent 25b315e6ca
commit 2a5db9c140

View file

@ -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")
}