rdblue commented on a change in pull request #32082:
URL: https://github.com/apache/spark/pull/32082#discussion_r617870366



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -296,11 +297,22 @@ case class UnresolvedFunction(
       copy(arguments = newChildren)
     }
   }
+
+  def name: FunctionIdentifier = multipartIdentifier.asFunctionIdentifier

Review comment:
       Where is this used? Since `asFunctionIdentifier` will throw exceptions 
for multi-part identifiers, it seems like this is dangerous. If name is used in 
normal places, those could suddenly start throwing errors.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to