Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4076 Schema followups
  3. BEAM-9442

Schema Select does not properly handle nested nullable fields

Details

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-java-harness

    Description

      A select of a nested field should be nullable if any of its parents are nullable. So for example, a select of "a.b" should return a field named b that is nullable if either of a or b is nullable. Today we only examine b to see if the selected fields should be nullable.

      Also the Select transform itself does not properly check for null values, and throws NullPointerExceptions when some row values are null.

      Attachments

        Issue Links

          Activity

            People

              reuvenlax Reuven Lax
              reuvenlax Reuven Lax
              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 - 2.5h
                  2.5h