Skip to content

Commit f81bffb

Browse files
committed
Use $OP in macro rather than &
1 parent d6b2b2e commit f81bffb

File tree

1 file changed

+2
-2
lines changed
  • datafusion/src/physical_plan/expressions

1 file changed

+2
-2
lines changed

datafusion/src/physical_plan/expressions/binary.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ macro_rules! binary_bitwise_array_op {
348348
if left.is_null(i) || right.is_null(i) {
349349
None
350350
} else {
351-
Some(left.value(i) & right.value(i))
351+
Some(left.value(i) $OP right.value(i))
352352
}
353353
})
354354
.collect::<$ARRAY_TYPE>();
@@ -374,7 +374,7 @@ macro_rules! binary_bitwise_array_scalar {
374374
if array.is_null(i) {
375375
None
376376
} else {
377-
Some(array.value(i) & right)
377+
Some(array.value(i) $OP right)
378378
}
379379
})
380380
.collect::<$ARRAY_TYPE>();

0 commit comments

Comments
 (0)