HyukjinKwon commented on a change in pull request #26227: 
[SPARK-29444][FOLLOWUP] add doc and python parameter for ignoreNullFields in 
json generating
URL: https://github.com/apache/spark/pull/26227#discussion_r338405153
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -1189,9 +1189,10 @@ object SQLConf {
 
   val JSON_GENERATOR_IGNORE_NULL_FIELDS =
     buildConf("spark.sql.jsonGenerator.ignoreNullFields")
-      .doc("If false, JacksonGenerator will generate null for null fields in 
Struct.")
-      .stringConf
-      .createWithDefault("true")
+      .doc("Whether to ignore null fields in column/struct during json 
generating. " +
 
 Review comment:
   I would just write like this:
   
   ```
   Whether to ignore null fields when generating JSON objects in JSON data 
source and 
   JSON functions such as to_json.
   If false, it generates null for null fields in JSON objects.
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to