Skip to content

Apache DataFusion SQL Query Engine

[MINOR] Document refactor on NestedLoopJoin (#7217)

Metehan Yıldırım79147f40d7c6
diff --git a/datafusion/core/src/physical_plan/joins/nested_loop_join.rs b/datafusion/core/src/physical_plan/joins/nested_loop_join.rs
index ed63fb8448..cad3b4743b 100644
--- a/datafusion/core/src/physical_plan/joins/nested_loop_join.rs
+++ b/datafusion/core/src/physical_plan/joins/nested_loop_join.rs
@@ -73,6 +73,7 @@ type JoinLeftData = (RecordBatch, MemoryReservation);
/// |--------------------------------|--------------------------------------------|-------------|
/// | Inner/Left/LeftSemi/LeftAnti | (UnspecifiedDistribution, SinglePartition) | right |
/// | Right/RightSemi/RightAnti/Full | (SinglePartition, UnspecifiedDistribution) | left |
+/// | Full | (SinglePartition, SinglePartition) | left |
///
#[derive(Debug)]
pub struct NestedLoopJoinExec {
@@ -119,12 +120,12 @@ impl NestedLoopJoinExec {
})
}
- /// left (build) side which gets hashed
+ /// left side
pub fn left(&self) -> &Arc<dyn ExecutionPlan> {
&self.left
}
- /// right (probe) side which are filtered by the hash table
+ /// right side
pub fn right(&self) -> &Arc<dyn ExecutionPlan> {
&self.right
}