Skip to content

Commit

Permalink
feature gate array eq_missing
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Sep 17, 2024
1 parent b2a1977 commit 4eb72b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/polars-core/src/datatypes/any_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ impl AnyValue<'_> {
},
#[cfg(feature = "object")]
(Object(l), Object(r)) => l == r,
#[cfg(feature = "dtype-array")]
(Array(l_values, l_size), Array(r_values, r_size)) => {
if l_size != r_size {
return false;
Expand All @@ -1275,7 +1276,7 @@ impl AnyValue<'_> {
},

(_, _) => {
unimplemented!("ordering for mixed dtypes {self:?} and {other:?} is not supported")
unimplemented!("scalar eq_missing for mixed dtypes {self:?} and {other:?} is not supported")
},
}
}
Expand Down Expand Up @@ -1421,7 +1422,7 @@ impl PartialOrd for AnyValue<'_> {
},

(_, _) => {
unimplemented!("ordering for mixed dtypes is not supported")
unimplemented!("scalar ordering for mixed dtypes {self:?} and {other:?} is not supported")
},
}
}
Expand Down

0 comments on commit 4eb72b0

Please sign in to comment.