Module datafusion_python::datafusion_common::arrow::compute::kernels::sort
source · Expand description
Defines sort kernel for ArrayRef
Structs§
- A lexicographical comparator that wraps given array data (columns) and can lexicographically compare data at given two indices. The lifetime is the same at the data wrapped.
- One column to be used in lexicographical sort
- Options that define the sort order of a given column
Functions§
- Sort a list of
ArrayRefusingSortOptionsprovided for each array. - Sort elements lexicographically from a list of
ArrayRefinto an unsigned integer (UInt32Array) of indices. - It’s unstable_sort, may not preserve the order of equal elements
- Sort the
ArrayRefusingSortOptions. - Sort the
ArrayRefpartially. - Sort elements from
ArrayRefinto an unsigned integer (UInt32Array) of indices. Floats are sorted using IEEE 754 totalOrder.limitis an option for partial_sort.