allisonwang-db commented on a change in pull request #31791:
URL: https://github.com/apache/spark/pull/31791#discussion_r607381713
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
##########
@@ -1521,6 +1543,8 @@ class SessionCatalog(
val qualifiedName = name.copy(database = database)
functionRegistry.lookupFunction(name)
.orElse(functionRegistry.lookupFunction(qualifiedName))
+ .orElse(tableFunctionRegistry.lookupFunction(name))
+ .orElse(tableFunctionRegistry.lookupFunction(qualifiedName))
Review comment:
Good point. Unlike non-table functions, there is currently no table
function whose name can be qualified. We can remove the lookup function call
with qualified name.
--
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]