You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/30 08:32:10 UTC

[GitHub] [spark] wzhfy commented on a change in pull request #26994: [SPARK-30339][SQL] Avoid to fail twice in function lookup

wzhfy commented on a change in pull request #26994: [SPARK-30339][SQL] Avoid to fail twice in function lookup
URL: https://github.com/apache/spark/pull/26994#discussion_r361925564
 
 

 ##########
 File path: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala
 ##########
 @@ -117,12 +117,25 @@ private[sql] class HiveSessionCatalog(
     try {
       lookupFunction0(name, children)
     } catch {
-      case NonFatal(_) =>
 
 Review comment:
   @maropu at first i also write like this... but I also want to avoid tranverse the expressions of children twice (by `.exists` and `.map`)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org