cloud-fan commented on code in PR #39095:
URL: https://github.com/apache/spark/pull/39095#discussion_r1053445285
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala:
##########
@@ -170,8 +170,10 @@ trait CheckAnalysis extends PredicateHelper with
LookupCatalog with QueryErrorsB
u.tableNotFound(u.multipartIdentifier)
case u: UnresolvedFunc =>
- throw QueryCompilationErrors.noSuchFunctionError(
- u.multipartIdentifier, u, u.possibleQualifiedName)
+ throw QueryCompilationErrors.unresolvedRoutineError(
+ u.multipartIdentifier,
+ Seq("system.builtin", "system.session"),
Review Comment:
This code path is for reporting error of `DESCRIBE FUNCTION ...` etc., I
think it does support persistent functions and the search path should include
current database.
--
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]