gatorsmile commented on a change in pull request #25663: [SPARK-28910][SQL]
Prevent schema verification when connecting to in memory derby
URL: https://github.com/apache/spark/pull/25663#discussion_r320384976
##########
File path: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
##########
@@ -442,6 +442,13 @@ private[spark] object HiveUtils extends Logging {
propMap.put("datanucleus.rdbms.datastoreAdapterClassName",
"org.datanucleus.store.rdbms.adapter.DerbyAdapter")
+ // Disable schema verification and allow schema auto-creation in the
+ // Derby database, in case the config for the metastore is set otherwise.
+ // Without these settings, starting the client fails with
Review comment:
cc @wangyum This is similar to what you did in Hive execution 2.3 upgrade.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]