You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/02/22 15:38:00 UTC
[jira] [Assigned] (ARROW-11694) [C++] Array Take may dereference
absent null bitmap
[ https://issues.apache.org/jira/browse/ARROW-11694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou reassigned ARROW-11694:
--------------------------------------
Assignee: Antoine Pitrou
> [C++] Array Take may dereference absent null bitmap
> ---------------------------------------------------
>
> Key: ARROW-11694
> URL: https://issues.apache.org/jira/browse/ARROW-11694
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Affects Versions: 3.0.0
> Environment: macOS, ubuntu
> Reporter: A. Coady
> Assignee: Antoine Pitrou
> Priority: Critical
> Fix For: 4.0.0
>
>
> Sorting a non-chunked array has some sort of reference problem. Some operations on the resulting indices array crash.
> {code:python}
> import pyarrow as pa, pyarrow.compute as pc
> array = pa.array(list("abcba"))
> assert pc.sort_indices(pa.chunked_array([array])).take([0])
> assert pc.array_sort_indices(pa.chunked_array([array])).take([0])
> pc.sort_indices(array).take([0]) # crash
> pc.array_sort_indices(array).take([0]) # crash
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)