Skip to content

Commit

Permalink
Make swap_hash_join public API (#10702)
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya authored May 30, 2024
1 parent c775e4d commit ad2b1dc
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 ad2b1dc

Please sign in to comment.