ulysses-you commented on a change in pull request #29502:
URL: https://github.com/apache/spark/pull/29502#discussion_r482829658
##########
File path: sql/core/src/test/resources/sql-tests/results/udf/udf-udaf.sql.out
##########
@@ -51,7 +52,7 @@ SELECT default.udaf1(udf(int_col1)) as udaf1,
udf(default.udaf1(udf(int_col1)))
struct<>
-- !query output
org.apache.spark.sql.AnalysisException
-Can not load class 'test.non.existent.udaf' when registering the function
'default.udaf1', please make sure it is on the classpath; line 1 pos 94
Review comment:
For permanent, the old code path is:
```
create function // no class check
query on function -> lookup function -> fill database name if permanent ->
register function -> check class
```
So the previously msg always contains database name.
Now the code path is:
```
create function -> check class
```
----------------------------------------------------------------
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]