Skip to content

Commit

Permalink
Update datafusion/core/src/physical_optimizer/join_selection.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Eduard Karacharov <[email protected]>
  • Loading branch information
my-vegetable-has-exploded and korowa authored Oct 18, 2024
1 parent 9a9aceb commit 29ea1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/core/src/physical_optimizer/join_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub fn swap_hash_join(
partition_mode,
hash_join.null_equals_null(),
)?;
// if there is embeded projection in HashJoinExec, no need to add projection again.
// In case of anti / semi joins or if there is embedded projection in HashJoinExec, output column order is preserved, no need to add projection again
if matches!(
hash_join.join_type(),
JoinType::LeftSemi
Expand Down

0 comments on commit 29ea1a3

Please sign in to comment.