Skip to content

Commit

Permalink
Use $OP in macro rather than &
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jan 31, 2022
1 parent d6b2b2e commit f81bffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/src/physical_plan/expressions/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ macro_rules! binary_bitwise_array_op {
if left.is_null(i) || right.is_null(i) {
None
} else {
Some(left.value(i) & right.value(i))
Some(left.value(i) $OP right.value(i))
}
})
.collect::<$ARRAY_TYPE>();
Expand All @@ -374,7 +374,7 @@ macro_rules! binary_bitwise_array_scalar {
if array.is_null(i) {
None
} else {
Some(array.value(i) & right)
Some(array.value(i) $OP right)
}
})
.collect::<$ARRAY_TYPE>();
Expand Down

0 comments on commit f81bffb

Please sign in to comment.