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/08 06:25:00 UTC

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

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

Joris Van den Bossche updated ARROW-9920:
-----------------------------------------
    Fix Version/s: 2.0.0

> [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
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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)