You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2020/05/23 23:30:00 UTC

[jira] [Created] (ARROW-8911) An empty ChunkedArray created by `filter` can crash.

A. Coady created ARROW-8911:
-------------------------------

             Summary: 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


{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)