This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new ad2b1dcac8 Make swap_hash_join public API (#10702)
ad2b1dcac8 is described below
commit ad2b1dcac8168906e4444527320d3139a1a2ea5b
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Thu May 30 07:48:33 2024 -0700
Make swap_hash_join public API (#10702)
---
datafusion/core/src/physical_optimizer/join_selection.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/datafusion/core/src/physical_optimizer/join_selection.rs
b/datafusion/core/src/physical_optimizer/join_selection.rs
index 135a59aa03..1613e50898 100644
--- a/datafusion/core/src/physical_optimizer/join_selection.rs
+++ b/datafusion/core/src/physical_optimizer/join_selection.rs
@@ -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>> {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]