You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matthew Liem (JIRA)" <ji...@apache.org> on 2018/06/25 20:40:00 UTC

[jira] [Created] (SPARK-24651) Write null values when writing JSON

Matthew Liem created SPARK-24651:
------------------------------------

             Summary: Write null values when 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


Hello,

 Spark is configured to ignore the null values when writing JSON based off of  JacksonMessageWriter - 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org