maropu commented on a change in pull request #25399: [SPARK-28670][SQL] create
function should thrown Exception if the resource is not found
URL: https://github.com/apache/spark/pull/25399#discussion_r366104666
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -3336,6 +3336,20 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession {
checkAnswer(df5, Array.empty[Row])
}
}
+
+ test("SPARK-28670: create function should throw AnalysisException if UDF
class not found") {
Review comment:
The revert looks fine to me, but we don't need any feedback to users when
resources not found in create functions? e.g., `logInfo` or something?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]