Joris Van den Bossche created ARROW-14003:
---------------------------------------------
Summary: [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: Python
Reporter: Joris Van den Bossche
Fix For: 6.0.0
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)