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:44:00 UTC
[jira] [Updated] (SPARK-24651) Write null values when writing JSON
[ https://issues.apache.org/jira/browse/SPARK-24651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Liem updated SPARK-24651:
---------------------------------
Description:
Hello,
Spark is configured to ignore the null values when writing JSON based off of JacksonMessageWriter - JsonInclude.Include.NON_NULL during serialization.
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.
was:
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.
> 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
> Priority: Minor
>
> Hello,
> Spark is configured to ignore the null values when writing JSON based off of JacksonMessageWriter - JsonInclude.Include.NON_NULL during serialization.
> 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