dtenedor opened a new pull request, #37431: URL: https://github.com/apache/spark/pull/37431
### What changes were proposed in this pull request? Add config to make DEFAULT values in JSON tables mutually exclusive with SQLConf.JSON_GENERATOR_IGNORE_NULL_FIELDS. When this new config is true, allow DEFAULT column values with JSON tables when thr JSON_GENERATOR_IGNORE_NULL_FIELDS conf is enabled. Otherwise, the two become mutually exclusive. This can be useful to enforce that inserted NULL values are present in storage to differentiate from missing data. ### Why are the changes needed? This can help guard correctness of query results. ### Does this PR introduce _any_ user-facing change? Yes, please see above. ### How was this patch tested? This PR adds new unit test coverage. -- 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]
