gengliangwang commented on code in PR #37431:
URL: https://github.com/apache/spark/pull/37431#discussion_r944674301
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2924,6 +2924,18 @@ object SQLConf {
.stringConf
.createWithDefault("csv,json,orc,parquet")
+ val DEFAULT_COLUMN_JSON_GENERATOR_FORCE_NULL_FIELDS =
+ buildConf("spark.sql.defaultColumn.jsonGeneratorForceNullFields")
Review Comment:
Since we have a conf `spark.sql.jsonGenerator.ignoreNullFields` already, I
suggest making this one a JSON data source configuration as well. How about
`spark.sql.jsonGenerator.writeNullIfWithDefaultValue`?
--
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]