[
https://issues.apache.org/jira/browse/BEAM-10220?focusedWorklogId=451734&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-451734
]
ASF GitHub Bot logged work on BEAM-10220:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jun/20 20:49
Start Date: 26/Jun/20 20:49
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on pull request #12035:
URL: https://github.com/apache/beam/pull/12035#issuecomment-650394222
Thanks @pabloem, great suggestion. I made the documentation into javadoc,
and also tried to make it more clear, PTAL
I also changed the default to `ACCEPT_MISSING_OR_NULL` I think this is what
most users will want, and its consistent with the ["postel
principle"](https://en.wikipedia.org/wiki/Robustness_principle) (which I just
learned about :P): "be conservative in what you do, be liberal in what you
accept from others."
Technically I think that is a breaking change since its possible people are
relying on the old behavior, so I added an entry to that effect in CHANGES.md
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 451734)
Time Spent: 6h 10m (was: 6h)
> Add support for implicit nulls in de/serializing JSON
> -----------------------------------------------------
>
> Key: BEAM-10220
> URL: https://issues.apache.org/jira/browse/BEAM-10220
> Project: Beam
> Issue Type: New Feature
> Components: extensions-java-json
> Reporter: Reuben van Ammers
> Assignee: Reuben van Ammers
> Priority: P3
> Fix For: 2.23.0
>
> Time Spent: 6h 10m
> Remaining Estimate: 0h
>
> Currently, RowJson.java doesn't have support for deserialising JSON with
> fields missing - it fails, even if the beam schema is nullable. This is often
> a problem for reading JSON as nulls are very commonly represented by omitting
> the field. Additionally, for this reason, not writing nulls is a reasonable
> when converting from Beam rows to JSON.
> This would help to allow https://issues.apache.org/jira/browse/BEAM-7624 to
> be implemented.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)