You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/04/13 09:55:00 UTC

[jira] [Created] (ARROW-2454) [Python] Empty chunked array slice crashes

Antoine Pitrou created ARROW-2454:
-------------------------------------

             Summary: [Python] Empty chunked array slice crashes
                 Key: ARROW-2454
                 URL: https://issues.apache.org/jira/browse/ARROW-2454
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.9.0
            Reporter: Antoine Pitrou


{code:python}
>>> 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)
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)