We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e247819 commit cdff5e2Copy full SHA for cdff5e2
datafusion/physical-plan/src/joins/hash_join/stream.rs
@@ -804,7 +804,10 @@ impl HashJoinStream {
804
// For null-aware anti join, filter out LEFT rows with NULL in join keys
805
// BUT only if the probe side (RIGHT) was non-empty. If probe side is empty,
806
// NULL NOT IN (empty) = TRUE, so NULL rows should be returned.
807
- if self.null_aware && self.join_type == JoinType::LeftAnti && self.probe_side_non_empty {
+ if self.null_aware
808
+ && self.join_type == JoinType::LeftAnti
809
+ && self.probe_side_non_empty
810
+ {
811
// Since null_aware validation ensures single column join, we only check the first column
812
let build_key_column = &build_side.left_data.values()[0];
813
0 commit comments