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

[Java] ArrowWriter writes length 0 for Struct types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.0
    • Java
    • None

    Description

      Observed in integration testing. In a length-7 struct, the field metadata for the struct node has length 0 in the flatbuffer. From C++ gdb:

      (gdb) p field_meta
      $1 = {length = 0, null_count = 0}
      

      See attached example json file

      Attachments

        1. struct_error.json
          5 kB
          Wes McKinney

        Activity

          People

            julienledem Julien Le Dem
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: