You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/16 10:04:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-2454:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> {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)