Github user caneGuy commented on a diff in the pull request: https://github.com/apache/spark/pull/21552#discussion_r196378408 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala --- @@ -131,6 +132,8 @@ private[sql] class HiveSessionCatalog( Try(super.lookupFunction(funcName, children)) match { case Success(expr) => expr case Failure(error) => + logWarning(s"Encounter a failure during looking up function:" + + s" ${Utils.exceptionString(error)}") if (functionRegistry.functionExists(funcName)) { --- End diff -- Actually, this patch intended to print actual exception.As the description mentioned, this exception will helpful for troubleshooting. Thanks @maropu
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org