Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16502

StructBuilder UnmarshalJSON does not handle missing optional fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0
    • 9.0.0
    • Go

    Description

      When calling array.StructBuilder.UnmarshalJSON with a JSON object that has missing optional fields, it fails to decode the JSON object properly and will panic - but it's a common behavior to drop empty/null fields from the JSON

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Kowol Przemysław Kowolik
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m