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

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


The following commit(s) were added to refs/heads/master by this push:
     new 98cc3ef75 Add hash trait to SortOptions. (#4089)
98cc3ef75 is described below

commit 98cc3ef757c7a8a89d0b88051f1c4da6f1da7327
Author: Mustafa Akur <[email protected]>
AuthorDate: Fri Apr 14 23:31:58 2023 +0300

    Add hash trait to SortOptions. (#4089)
---
 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