Skip to content

Commit

Permalink
Make swap_hash_join public API
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed May 28, 2024
1 parent 96e0ee6 commit 75ddd01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datafusion/core/src/physical_optimizer/join_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ fn swap_join_projection(
}

/// This function swaps the inputs of the given join operator.
fn swap_hash_join(
/// This function is public so other downstream projects can use it
/// to construct `HashJoinExec` with right side as the build side.
pub fn swap_hash_join(
hash_join: &HashJoinExec,
partition_mode: PartitionMode,
) -> Result<Arc<dyn ExecutionPlan>> {
Expand Down

0 comments on commit 75ddd01

Please sign in to comment.