diff --git a/arrow/src/compute/kernels/sort.rs b/arrow/src/compute/kernels/sort.rs index 0a02167dc528..c5e05a6f0380 100644 --- a/arrow/src/compute/kernels/sort.rs +++ b/arrow/src/compute/kernels/sort.rs @@ -361,7 +361,7 @@ pub fn sort_to_indices( } /// Options that define how sort kernels should behave -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SortOptions { /// Whether to sort in descending order pub descending: bool,