[ https://issues.apache.org/jira/browse/SPARK-24651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523383#comment-16523383 ]
Hyukjin Kwon commented on SPARK-24651: -------------------------------------- I think it's basically a duplicate of SPARK-23773. > Add ability to write null values while writing JSON > --------------------------------------------------- > > Key: SPARK-24651 > URL: https://issues.apache.org/jira/browse/SPARK-24651 > Project: Spark > Issue Type: New Feature > Components: Spark Core > Affects Versions: 2.3.1 > Reporter: Matthew Liem > Priority: Minor > > Hello, > Spark is configured to ignore the null values when writing JSON based off of > JacksonMessageWriter.scala during serialization: > |mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL)| > In some scenarios it is useful to maintain these fields..looking to see if > this functionality can be added or configurable to set e.g. use > Include.ALWAYS or other properties depending on requirement. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org