From 816cdab26c1d34737759af3ff95fd13447cf6503 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> Date: Tue, 8 Jun 2021 18:27:30 +0100 Subject: [PATCH] Derive Eq and PartialEq for SortOptions (#425) --- arrow/src/compute/kernels/sort.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/src/compute/kernels/sort.rs b/arrow/src/compute/kernels/sort.rs index 7cd463d6ebb9..6539014f8eb6 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,