maropu commented on a change in pull request #29453:
URL: https://github.com/apache/spark/pull/29453#discussion_r472574162



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
##########
@@ -3035,7 +3035,10 @@ abstract class DDLSuite extends QueryTest with 
SQLTestUtils {
     val msg = intercept[AnalysisException] {
       sql("REFRESH FUNCTION md5")
     }.getMessage
-    assert(msg.contains("Cannot refresh builtin function"))
+    assert(msg.contains("Cannot refresh built-in function"))
+    intercept[NoSuchFunctionException] {

Review comment:
       nit: just in case, could you check the error message, too?




----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to