spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ueshin <...@git.apache.org>
Subject [GitHub] spark pull request #22075: [SPARK-23908][SQL][FOLLOW-UP] Rename inputs to ar...
Date Mon, 13 Aug 2018 02:01:17 GMT
Github user ueshin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22075#discussion_r209478694
  
    --- 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 --
    
    The previous behavior was the same. I just added to check the behavior is as expected.


---

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


Mime
View raw message