diff --git a/arrow-schema/src/lib.rs b/arrow-schema/src/lib.rs index 0e9edc7b4b26..2d539417f78b 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,