We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a138d commit a23d867Copy full SHA for a23d867
arrow-select/src/nullif.rs
@@ -71,7 +71,7 @@ pub fn nullif(left: &dyn Array, right: &BooleanArray) -> Result<ArrayRef, ArrowE
71
72
// Compute left null bitmap & !right
73
74
- let combined = if let Some(left) = left_data.nulls() {
+ let combined = if let Some(left) = left_data.nulls() && left.null_count() > 0 {
75
BooleanBuffer::from_bitwise_binary_op(
76
left.buffer(),
77
left.offset(),
0 commit comments