pub fn lexsort_to_indices_impl<I: Index>(
columns: &[SortColumn<'_>],
limit: Option<usize>,
build_compare_fn: &dyn Fn(&dyn Array, &dyn Array) -> Result<DynComparator>
) -> Result<PrimitiveArray<I>>
Available on crate feature
compute_sort
only.Expand description
Sorts a list of SortColumn
into a non-nullable PrimitiveArray
representing the indices that would sort the columns.
Implementing custom build_compare_fn
for unsupportd data types.