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

[Python] Segmentation fault while trying to access an out-of-bound chunk

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.8.0
    • Component/s: Python
    • Environment:
      OS X, Python 3.6.3

      Description

      Following code segfaults.

      import pyarrow as pa
      
      data = [
          pa.array([1, 2, 3, 4]),
          pa.array(['foo', 'bar', 'baz', None]),
          pa.array([True, None, False, True])
      ]
      
      batch = pa.RecordBatch.from_arrays(data, ['f0', 'f1', 'f2'])
      
      batches = [batch] * 5
      
      table = pa.Table.from_batches(batches)
      
      c = table[0]
      
      c.data.chunk(5)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Licht-T Licht Takeuchi
                Reporter:
                tcl Dorus Leliveld
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: