dongjoon-hyun commented on a change in pull request #32446:
URL: https://github.com/apache/spark/pull/32446#discussion_r627045025



##########
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:
       Yes, the question was the previous `get_all_functions` failure blocked 
the rest of Spark operations or not. If it blocks all further Spark's 
operations, it should have a `BUG` type.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to