You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/09/27 19:17:00 UTC

[jira] [Resolved] (ARROW-14129) [C++] An empty dictionary array crashes on `unique` and `value_counts`.

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

David Li resolved ARROW-14129.
------------------------------
    Fix Version/s: 6.0.0
       Resolution: Fixed

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

> [C++] An empty dictionary array crashes on `unique` and `value_counts`.
> -----------------------------------------------------------------------
>
>                 Key: ARROW-14129
>                 URL: https://issues.apache.org/jira/browse/ARROW-14129
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 5.0.0
>            Reporter: A. Coady
>            Assignee: David Li
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:python}
> import pyarrow as pa
> arr = pa.array(range(3)).dictionary_encode()
> assert not arr[:0]
> arr[:0].unique() # Check failed: (data->dictionary) != (nullptr) 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)