Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/12405#discussion_r59952176
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala ---
@@ -549,6 +505,22 @@ private[hive] class TestHiveFunctionRegistry extends
SimpleFunctionRegistry {
}
}
+
+private[hive] class TestHiveSharedState(
+ sc: SparkContext,
+ warehousePath: File,
+ scratchDirPath: File,
+ metastoreTemporaryConf: Map[String, String])
+ extends HiveSharedState(sc) {
+
+ override val metadataHive: HiveClient = {
--- End diff --
I figured out the issue with the previous test failure. Although we are
trying to override it at here, but inside HiveSharedState, we still create a
metadataHive which uses the derby `metastore_db`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]