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_r314964670
########## File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala ########## @@ -3180,6 +3180,20 @@ class SQLQuerySuite extends QueryTest with SharedSQLContext { } } + + test("SPARK-28670: create function should throw AnalysisException if UDF classes not found") { + Seq(true, false).foreach(isTemporary => { Review comment: nit: `Seq(true, false).foreach { isTemporary =>` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org