dongjoon-hyun commented on a change in pull request #24773:
[SPARK-24544][SQL][FOLLOWUP] Remove a wrong warning on Hive fallback lookup
URL: https://github.com/apache/spark/pull/24773#discussion_r289690629
##########
File path:
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala
##########
@@ -142,8 +142,6 @@ private[sql] class HiveSessionCatalog(
// let's try to load it as a Hive's built-in function.
// Hive is case insensitive.
val functionName = funcName.unquotedString.toLowerCase(Locale.ROOT)
- logWarning("Encountered a failure during looking up function:" +
- s" ${Utils.exceptionString(error)}")
Review comment:
Ya. Maybe, but I'm not sure about the original intention. For that line,
since we already `throw error`, actually, we don't need print warning here with
the same `error`.
----------------------------------------------------------------
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]