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:47:00 UTC
[jira] [Assigned] (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 reassigned ARROW-9920:
-------------------------------
Assignee: Joris Van den Bossche
> [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: 20m
> 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)