Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/19492#discussion_r144757530 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala --- @@ -170,6 +160,31 @@ class JsonFunctionsSuite extends QueryTest with SharedSQLContext { Row(Row(1, "haa")) :: Nil) } + test("SPARK-22228: from_json should support also arrays of primitive types") { + val dfInt = Seq("[1]", "[2, 3]").toDS() --- End diff -- Add a `[]` in to the data?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org