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

tustvold 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 55c598d09 feat: impl `Ord`/`PartialOrd` for `SortOptions` (#3723)
55c598d09 is described below

commit 55c598d09d6268f97181e17c080d5f6a99545a4e
Author: Marco Neumann <[email protected]>
AuthorDate: Thu Feb 16 14:03:27 2023 +0100

    feat: impl `Ord`/`PartialOrd` for `SortOptions` (#3723)
---
 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 6bc2329db..3c2af577c 100644
--- a/arrow-schema/src/lib.rs
+++ b/arrow-schema/src/lib.rs
@@ -30,7 +30,7 @@ pub use schema::*;
 pub mod ffi;
 
 /// Options that define the sort order of a given column
-#[derive(Clone, Copy, Debug, Eq, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)]
 pub struct SortOptions {
     /// Whether to sort in descending order
     pub descending: bool,

Reply via email to