You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/05/06 01:32:44 UTC
[GitHub] [spark] dongjoon-hyun commented on a change in pull request #32446: [SPARK-35321][SQL] don't register Hive permanent functions when creating Hive client
dongjoon-hyun commented on a change in pull request #32446:
URL: https://github.com/apache/spark/pull/32446#discussion_r627019303
##########
File path: sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
##########
@@ -273,7 +273,9 @@ private[hive] class HiveClientImpl(
if (clientLoader.cachedHive != null) {
clientLoader.cachedHive.asInstanceOf[Hive]
} else {
- val c = Hive.get(conf)
+ // don't register all Hive permanent functions in Hive's FunctionRegistry since Spark loads
+ // them through direct HMS API calls
+ val c = Hive.getWithFastCheck(conf, false)
Review comment:
So, are the previous errors irrecoverable?
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org