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

Missing field support in JsonToRow

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • extensions-java-json

    Description

      JsonToRow supports only strict schema matching, so it expects all the fields that are declared by the schema to be present in the input JSON data. If the field is missing, it crashes. In practice it is useful to default to null is such cases. We should make it configurable in Beam Java SDK at least, and probably in Beam SQL (in Pubsub Json TableProvider) as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kedin Anton Kedin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: