srowen commented on a change in pull request #21790: [SPARK-24544][SQL] Print 
actual failure cause when look up function failed
URL: https://github.com/apache/spark/pull/21790#discussion_r244487351
 
 

 ##########
 File path: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala
 ##########
 @@ -141,21 +142,23 @@ private[sql] class HiveSessionCatalog(
           // built-in function.
           // Hive is case insensitive.
           val functionName = funcName.unquotedString.toLowerCase(Locale.ROOT)
+          logWarning(s"Encounter a failure during looking up function:" +
 
 Review comment:
   Nit: Encounter -> Encountered, and the first string doesn't need 
interpolation

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]

Reply via email to