Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22075#discussion_r209475881
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala ---
    @@ -1852,6 +1852,11 @@ class DataFrameFunctionsSuite extends QueryTest with 
SharedSQLContext {
           df.selectExpr("transform(i, x -> x)")
         }
         assert(ex2.getMessage.contains("data type mismatch: argument 1 
requires array type"))
    +
    +    val ex3 = intercept[AnalysisException] {
    +      df.selectExpr("transform(a, x -> x)")
    --- End diff --
    
    what's the previous behavior?


---

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

Reply via email to