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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.1
    • 0.8.0
    • Python
    • 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

              Licht-T Licht Takeuchi
              tcl Dorus Leliveld
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: