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

Possible bug with array.TableReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.1
    • None
    • Go
    • None
    • ubuntu20.04, go1.16.13

    Description

      I'm writing an array of int32 to a byte buffer using an array.TableReader and  ipc.Writer. The array is  [1, 2, 3 (null), 4].

      I then read it back from the byte buffer using an ipc.Reader.

      If the chunk size of the array.TableReader is smaller than the size of the array, the null is ignored.

      I read back `[1, 2,3, 4]`.

      Is this a bug in my code or apache arrow?

      Code attached.

       

      Attachments

        1. chunksize.go
          2 kB
          Charlie Hubbard

        Activity

          People

            Unassigned Unassigned
            chubbard@adapdix.com Charlie Hubbard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: