2010YOUY01 commented on code in PR #25304:
URL: https://github.com/apache/datafusion/pull/25304#discussion_r4779227452
##########
datafusion/physical-optimizer/src/join_selection.rs:
##########
@@ -181,6 +186,10 @@ pub(crate) fn try_collect_left(
ignore_threshold: bool,
context: &dyn PhysicalOptimizerContext,
) -> Result<Option<Arc<dyn ExecutionPlan>>> {
+ if hash_join.inputs_satisfy_partitioned_requirements()? {
+ return Ok(None);
+ }
Review Comment:
This is a good idea, maybe we could do that in follow-ups, some extra test
would be needed for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]