You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2020/09/05 14:15:00 UTC

[jira] [Created] (ARROW-9920) [Python] pyarrow.concat_arrays segfaults when passing it a chunked array

Joris Van den Bossche created ARROW-9920:
--------------------------------------------

             Summary: [Python] pyarrow.concat_arrays segfaults when passing it a chunked array
                 Key: ARROW-9920
                 URL: https://issues.apache.org/jira/browse/ARROW-9920
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Joris Van den Bossche


One can concat the chunks of a ChunkedArray with {{concat_arrays}} passing it the list of chunks:

{code}
In [1]: arr = pa.chunked_array([[0, 1], [3, 4]])

In [2]: pa.concat_arrays(arr.chunks)
Out[2]: 
<pyarrow.lib.Int64Array object at 0x7ff88fc76408>
[
  0,
  1,
  3,
  4
]
{code}

but if passing the chunked array itself, you get a segfault:

{code}
In [4]: pa.concat_arrays(arr)
Segmentation fault (core dumped)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)