You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/02/22 18:42:00 UTC

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

Ben Kietzman resolved ARROW-11694.
----------------------------------
    Resolution: Fixed

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

> [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
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)