[
https://issues.apache.org/jira/browse/ARROW-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659481#comment-17659481
]
Rok Mihevc commented on ARROW-2454:
-----------------------------------
This issue has been migrated to [issue
#18608|https://github.com/apache/arrow/issues/18608] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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
> Fix For: 0.10.0
>
>
> {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
(v8.20.10#820010)