alamb commented on code in PR #17280: URL: https://github.com/apache/datafusion/pull/17280#discussion_r2293466814
########## datafusion/physical-plan/src/joins/hash_join.rs: ########## @@ -258,7 +264,7 @@ impl SharedBoundsAccumulator { // Create a predicate for each partition let mut partition_predicates = Vec::with_capacity(bounds.len()); - for partition_bounds in bounds.iter() { + for partition_bounds in bounds.iter().sorted_by_key(|b| b.partition) { Review Comment: Maybe a good follow on ticket -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org