[ 
https://issues.apache.org/jira/browse/SPARK-24651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew Liem updated SPARK-24651:
---------------------------------
    Summary: Add ability to write null values while writing JSON  (was: Write 
null values while writing JSON)

> 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

Reply via email to