Github user stanzhai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18544#discussion_r219468948
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalogSuite.scala
 ---
    @@ -1440,6 +1441,8 @@ abstract class SessionCatalogSuite extends 
AnalysisTest {
             }
     
             assert(cause.getMessage.contains("Undefined function: 
'undefined_fn'"))
    +        // SPARK-21318: the error message should contains the current 
database name
    --- End diff --
    
    org.apache.spark.sql.AnalysisException: Undefined function: 'undefined_fn'. 
This function is neither a registered temporary function nor a permanent 
function registered in the database 'db1'.;


---

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

Reply via email to