Skip to content

Commit

Permalink
Update arrow/src/compute/kernels/comparison.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
viirya and alamb authored Mar 3, 2022
1 parent 7199c97 commit 4f41726
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arrow/src/compute/kernels/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,9 @@ macro_rules! compare_dict_op {
));
}

// Safety justification: Since the inputs are valid Arrow arrays, all values are
// valid indexes into the dictionary (which is verified during construction)

let left_iter = unsafe {
$left
.values()
Expand Down

0 comments on commit 4f41726

Please sign in to comment.