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

[Python] Empty chunked array slice crashes

    XMLWordPrintableJSON

Details

    Description

      >>> col = pa.Column.from_array('ints', pa.array([1,2,3]))
      >>> col
      <pyarrow.lib.Column object at 0x7f65398fff00>
      chunk 0: <pyarrow.lib.Int64Array object at 0x7f64fd13ab88>
      [
        1,
        2,
        3
      ]
      >>> col.data
      <pyarrow.lib.ChunkedArray at 0x7f653986ef00>
      >>> col.data[:1]
      <pyarrow.lib.ChunkedArray at 0x7f6539884720>
      >>> col.data[:0]
      Erreur de segmentation (core dumped)
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: