lvshaokang commented on code in PR #36336:
URL: https://github.com/apache/spark/pull/36336#discussion_r858193302
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala:
##########
@@ -153,6 +153,9 @@ object FunctionRegistryBase {
} catch {
// the exception is an invocation exception. To get a meaningful
message, we need the
// cause.
+ case e: Exception if e.getCause.isInstanceOf[AnalysisException] =>
Review Comment:
@LuciferYang Thanks for you review.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]