You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/06/09 19:57:07 UTC
[arrow-rs] branch active_release updated: Derive Eq and PartialEq
for SortOptions (#425) (#433)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch active_release
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/active_release by this push:
new 033dd4f Derive Eq and PartialEq for SortOptions (#425) (#433)
033dd4f is described below
commit 033dd4f5ab7403a1b0dfe19b95921da80e2047d3
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Wed Jun 9 15:56:57 2021 -0400
Derive Eq and PartialEq for SortOptions (#425) (#433)
Co-authored-by: Raphael Taylor-Davies <17...@users.noreply.github.com>
---
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 4723efc..76b22fa 100644
--- a/arrow/src/compute/kernels/sort.rs
+++ b/arrow/src/compute/kernels/sort.rs
@@ -379,7 +379,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,