This is an automated email from the ASF dual-hosted git repository.

akurmustafa pushed a commit to branch feature/sort_options_minor
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit 164754309474653f27acc38ed27f869eb58ee62f
Author: Mustafa Akur <[email protected]>
AuthorDate: Fri Apr 14 16:37:10 2023 +0300

    Add hash trait to SortOptions.
---
 arrow-schema/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow-schema/src/lib.rs b/arrow-schema/src/lib.rs
index 0e9edc7b4..2d539417f 100644
--- a/arrow-schema/src/lib.rs
+++ b/arrow-schema/src/lib.rs
@@ -33,7 +33,7 @@ use std::ops;
 pub mod ffi;
 
 /// Options that define the sort order of a given column
-#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)]
+#[derive(Clone, Hash, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)]
 pub struct SortOptions {
     /// Whether to sort in descending order
     pub descending: bool,

Reply via email to