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/17 15:50:00 UTC

[jira] [Resolved] (ARROW-14003) [C++][Python] Not providing a sort_key in the "select_k_unstable" kernel crashes

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

David Li resolved ARROW-14003.
------------------------------
    Resolution: Fixed

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

> [C++][Python] Not providing a sort_key in the "select_k_unstable" kernel crashes
> --------------------------------------------------------------------------------
>
>                 Key: ARROW-14003
>                 URL: https://issues.apache.org/jira/browse/ARROW-14003
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Joris Van den Bossche
>            Assignee: Alexander Ocsa
>            Priority: Major
>              Labels: kernel, pull-request-available, query-engine
>             Fix For: 6.0.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> The new kernel added in ARROW-1565 crashes in Python if you don't specify a sort_key:
> {code}
> In [1]: import pyarrow.compute as pc
> In [2]: arr = pa.array([1, 2, 3, 4])
> In [3]: pc.select_k_unstable(arr, k=2)
> Segmentation fault (core dumped)
> {code}
> cc [~aocsa]



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