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

[Go][Integration] Go JSON producer generates incorrect nullable flag for nested types

    XMLWordPrintableJSON

Details

    Description

      It seems that when generating JSON integration data for a nested type, e.g.
      "list(int32)", the list's nullable flag is also inherited by child fields. This is wrong, because child fields have independent nullable flags, e.g. you may have:

      • "list(field("ints", int32, nullable=True), nullable=True)"
      • "list(field("ints", int32, nullable=False), nullable=True)"
      • "list(field("ints", int32, nullable=True), nullable=False)"
      • "list(field("ints", int32, nullable=False), nullable=False)"

      Attachments

        Issue Links

          Activity

            People

              zeroshade Matthew Topol
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                  1.5h