Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10220

Add support for implicit nulls in de/serializing JSON

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.23.0
    • Component/s: extensions-java-json
    • Labels:
      None

      Description

      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. 

        Attachments

          Activity

            People

            • Assignee:
              reubenvanammers Reuben van Ammers
              Reporter:
              reubenvanammers Reuben van Ammers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 50m
                7h 50m