Skip to content

Commit

Permalink
Update datafusion/physical-plan/src/joins/sort_merge_join.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 Feb 9, 2024
1 parent 739ccec commit 93b32c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datafusion/physical-plan/src/joins/sort_merge_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,8 @@ impl SMJStream {
// we need to join them (left or right) with null rows for outer joins.
let not_mask = if mask.null_count() > 0 {
// If the mask contains nulls, we need to use `prep_null_mask_filter` to
// handle the nulls in the mask as false.
// handle the nulls in the mask as false to produce rows where the mask
// was null itself.
compute::not(&compute::prep_null_mask_filter(mask))?
} else {
compute::not(mask)?
Expand Down

0 comments on commit 93b32c4

Please sign in to comment.