cfmcgrady commented on a change in pull request #33212:
URL: https://github.com/apache/spark/pull/33212#discussion_r670113970
##########
File path: docs/sql-migration-guide.md
##########
@@ -22,6 +22,10 @@ license: |
* Table of contents
{:toc}
+## Upgrading from Spark SQL 3.2 to 3.3
+
+ - In Spark 3.3, spark will fail when parsing a JSON/CSV string with
`PERMISSIVE` mode and schema contains non-nullable fields. You can set mode to
`FAILFAST/DROPMALFORMED` if you want to read JSON/CSV with a schema that
contains nullable fields.
Review comment:
This change also affects parsing CSV string, I will add a unit test for
CSV in a separate pr. cc @cloud-fan @HyukjinKwon
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]