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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Go, Integration
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apitrou Antoine Pitrou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: