Skip to content

[C++][Python] Not providing a sort_key in the "select_k_unstable" kernel crashes #29603

Closed

Description

@asfimport

The new kernel added in ARROW-1565 crashes in Python if you don't specify a sort_key:

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)

cc @aocsa

Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Alexander Ocsa / @aocsa

PRs and other links:

Note: This issue was originally created as ARROW-14003. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Sep 17, 2021

    @asfimport
    Author

    David Li / @lidavidm:
    Issue resolved by pull request 11164
    #11164

  2. added this to the 6.0.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions