Skip to content

Commit b5f04c5

Browse files
Fix kernel and test eq_dict_scalar is passing
1 parent c147869 commit b5f04c5

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

arrow/src/compute/kernels/comparison.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,8 @@ macro_rules! compare_dict_op_scalar {
218218
// Safety:
219219
// `i < $left.len()`
220220
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-
})
221+
.map(|i| unsafe { $op(array.value_unchecked(i), $right) })
227222
.collect();
228-
println!("{:?}", comparison);
229223

230224
let result: Vec<bool> = (0..$left.keys().len())
231225
.map(|key| {

0 commit comments

Comments
 (0)