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

    https://github.com/apache/spark/pull/22237#discussion_r218585584
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/JsonExpressionsSuite.scala
 ---
    @@ -450,7 +450,7 @@ class JsonExpressionsSuite extends SparkFunSuite with 
ExpressionEvalHelper with
       test("from_json - input=array, schema=struct, output=null") {
         val input = """[{"a": 1}, {"a": 2}]"""
         val schema = StructType(StructField("a", IntegerType) :: Nil)
    -    val output = null
    +    val output = InternalRow(1)
         checkEvaluation(JsonToStructs(schema, Map.empty, Literal(input), 
gmtId), output)
    --- End diff --
    
    I updated the migration guide and test's title


---

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

Reply via email to