You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ak...@apache.org on 2023/04/14 13:43:48 UTC

[arrow-rs] branch feature/sort_options_minor created (now 164754309)

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

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


      at 164754309 Add hash trait to SortOptions.

This branch includes the following new commits:

     new 164754309 Add hash trait to SortOptions.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[arrow-rs] 01/01: Add hash trait to SortOptions.

Posted by ak...@apache.org.
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 <mu...@synnada.ai>
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,