Peng-Lei commented on a change in pull request #32252: URL: https://github.com/apache/spark/pull/32252#discussion_r618388237
########## File path: sql/core/src/test/scala/org/apache/spark/sql/JsonFunctionsSuite.scala ########## @@ -840,4 +841,29 @@ class JsonFunctionsSuite extends QueryTest with SharedSparkSession { } } } + + test("SPARK-35094: Spark from_json(JsonToStruct) function return wrong value " + Review comment: @HyukjinKwon I am so sorry, It did pass without my fix. My fix is simply skipping the parsing when an parsing exception occurs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org