Skip to content

Commit 3dcd23f

Browse files
mapleFUmbrobbel
andauthored
Sort: Change lexsort comment from stable to unstable (#8245)
# Which issue does this PR close? The doc for lexsort says it's stable. However, it's an unstable sort. # Rationale for this change Fix the document. # What changes are included in this PR? Fix the document. # Are these changes tested? No need # Are there any user-facing changes? Doc change --------- Co-authored-by: Matthijs Brobbel <[email protected]>
1 parent 1e45aae commit 3dcd23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-ord/src/sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ pub struct SortColumn {
841841

842842
/// Sort a list of `ArrayRef` using `SortOptions` provided for each array.
843843
///
844-
/// Performs a stable lexicographical sort on values and indices.
844+
/// Performs an unstable lexicographical sort on values and indices.
845845
///
846846
/// Returns an `ArrowError::ComputeError(String)` if any of the array type is either unsupported by
847847
/// `lexsort_to_indices` or `take`.

0 commit comments

Comments
 (0)