We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c147869 commit b5f04c5Copy full SHA for b5f04c5
1 file changed
arrow/src/compute/kernels/comparison.rs
@@ -218,14 +218,8 @@ macro_rules! compare_dict_op_scalar {
218
// Safety:
219
// `i < $left.len()`
220
let comparison: Vec<bool> = (0..array.len())
221
- .map(|i| unsafe {
222
- let key = array.value_unchecked(i).to_usize().unwrap();
223
- println!("Left: {:?} Right: {:?}", array.value_unchecked(i), $right);
224
- println!("{:?}", $op(array.value_unchecked(key), $right));
225
- $op(array.value_unchecked(key), $right)
226
- })
+ .map(|i| unsafe { $op(array.value_unchecked(i), $right) })
227
.collect();
228
- println!("{:?}", comparison);
229
230
let result: Vec<bool> = (0..$left.keys().len())
231
.map(|key| {
0 commit comments