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_r338403887
##########
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. " +
+ "If false, json generator will generate null in Column/Struct.")
Review comment:
`Column/Struct` -> `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]