You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "zinking (via GitHub)" <gi...@apache.org> on 2023/08/25 08:48:01 UTC
[GitHub] [arrow-rs] zinking commented on issue #4733: Remove Deprecated Comparison Kernels
zinking commented on issue #4733:
URL: https://github.com/apache/arrow-rs/issues/4733#issuecomment-1693006082
is this what you wanted
```
let r0: Vec<_> = crate::cmp::eq(
&Int64Array::from(vec![8, 8, 8, 8, 8, 8, 8, 8, 8, 8]),
&Int64Array::from(vec![6, 7, 8, 9, 10, 6, 7, 8, 9, 10])
).unwrap().values().iter().collect();
assert_eq!(
&vec![false, false, true, false, false, false, false, true, false, false],
&r0
);
cmp_i64!(
eq,
eq_dyn,
vec![8, 8, 8, 8, 8, 8, 8, 8, 8, 8],
vec![6, 7, 8, 9, 10, 6, 7, 8, 9, 10],
vec![false, false, true, false, false, false, false, true, false, false]
);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org