-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Sorting a non-chunked array has some sort of reference problem. Some operations on the resulting indices array crash.
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]) # crashEnvironment: macOS, ubuntu
Reporter: A. Coady / @coady
Assignee: Antoine Pitrou / @pitrou
PRs and other links:
Note: This issue was originally created as ARROW-11694. Please see the migration documentation for further details.