Skip to content
Snippets Groups Projects
Commit 2a5db9c1 authored by Yin Huai's avatar Yin Huai
Browse files

[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.
parent 25b315e6
No related branches found
No related tags found
No related merge requests found
...@@ -208,6 +208,6 @@ case class SimpleCatalogRelation( ...@@ -208,6 +208,6 @@ case class SimpleCatalogRelation(
} }
require( require(
metadata.identifier.database.contains(databaseName), metadata.identifier.database == Some(databaseName),
"provided database does not match the one specified in the table definition") "provided database does not match the one specified in the table definition")
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment