From 3864b113c3e3fe85e18462d6374f8244c4f77b27 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 24 Dec 2024 17:16:12 -0500 Subject: [PATCH] Fix visibility of swap_hash_join (#13899) --- datafusion/core/src/physical_optimizer/join_selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/core/src/physical_optimizer/join_selection.rs b/datafusion/core/src/physical_optimizer/join_selection.rs index 7b977899b05c..29c6e0078847 100644 --- a/datafusion/core/src/physical_optimizer/join_selection.rs +++ b/datafusion/core/src/physical_optimizer/join_selection.rs @@ -176,7 +176,7 @@ fn swap_join_projection( /// This function swaps the inputs of the given join operator. /// This function is public so other downstream projects can use it /// to construct `HashJoinExec` with right side as the build side. -pub(crate) fn swap_hash_join( +pub fn swap_hash_join( hash_join: &HashJoinExec, partition_mode: PartitionMode, ) -> Result> {