[
https://issues.apache.org/jira/browse/ARROW-8911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17115473#comment-17115473
]
Wes McKinney commented on ARROW-8911:
-------------------------------------
Thanks for the bug report. I'm opening a PR presently
> [Python] An empty ChunkedArray created by `filter` can crash.
> -------------------------------------------------------------
>
> Key: ARROW-8911
> URL: https://issues.apache.org/jira/browse/ARROW-8911
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.17.1
> Environment: macOS, ubuntu
> Reporter: A. Coady
> Assignee: Wes McKinney
> Priority: Critical
> Fix For: 1.0.0
>
>
> {code:python}
> import pyarrow as pa
> arr = pa.chunked_array([[1]])
> empty = arr.filter(pa.array([False]))
> print(empty)
> print(empty[:]) # <- crash
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)