You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Uwe Korn (Jira)" <ji...@apache.org> on 2020/09/08 09:48:00 UTC

[jira] [Resolved] (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 ]

Uwe Korn resolved ARROW-9920.
-----------------------------
    Resolution: Fixed

Issue resolved by pull request 8132
[https://github.com/apache/arrow/pull/8132]

> [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
>            Assignee: Joris Van den Bossche
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)