dongjoon-hyun commented on a change in pull request #33746:
URL: https://github.com/apache/spark/pull/33746#discussion_r689119850
##########
File path:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
##########
@@ -265,6 +265,10 @@ private[hive] class HiveClientImpl(
clientLoader.cachedHive.asInstanceOf[Hive]
} else {
val c = getHive(conf)
+ val metaConfPrefix =
SQLConf.get.getConf(HiveUtils.HIVE_METASTORE_METACONF_PREFIX)
+ conf.getAllProperties.asScala
+ .filterKeys(_.startsWith(metaConfPrefix))
+ .foreach{ case(key, value) =>
c.setMetaConf(key.substring(metaConfPrefix.length), value)}
Review comment:
Since we don't have any example here, could you elaborate more about the
specific hive configurations you want to set? Please write it in the PR
description, @kevincmchen .
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]