Skip to content

Apache DataFusion SQL Query Engine

Fix hash join doc (#14206)

张林伟acf66d665372
diff --git a/datafusion/physical-plan/src/joins/hash_join.rs b/datafusion/physical-plan/src/joins/hash_join.rs
index d130b42a9d..4e224ea65d 100644
--- a/datafusion/physical-plan/src/joins/hash_join.rs
+++ b/datafusion/physical-plan/src/joins/hash_join.rs
@@ -226,8 +226,8 @@ impl JoinLeftData {
/// │ │
/// ┌───────┐ │ ┌───────┐ │
/// │ Row 6 │ 3) update_hash for batch 1 with offset 5 │ │ Row 1 │ 5 │
-/// Batch 3 │ │ - hashmap.insert(Row 2, idx 5) │ Batch 1 │ │ │
-/// │ Row 7 │ - hashmap.insert(Row 1, idx 6) │ │ Row 2 │ 6 │
+/// Batch 3 │ │ - hashmap.insert(Row 2, idx 6) │ Batch 1 │ │ │
+/// │ Row 7 │ - hashmap.insert(Row 1, idx 5) │ │ Row 2 │ 6 │
/// └───────┘ │ └───────┘ │
/// │ │
/// └───────────────────────────┘