liukun4515 commented on code in PR #4377:
URL: https://github.com/apache/arrow-datafusion/pull/4377#discussion_r1035532240
##########
datafusion/core/src/physical_plan/joins/hash_join.rs:
##########
@@ -2306,23 +2162,36 @@ mod tests {
Ok(())
}
+ fn build_semi_anti_left_table() -> Arc<dyn ExecutionPlan> {
+ // just two line match
+ // b1 = 10
+ build_table(
+ ("a1", &vec![1, 3, 5, 7, 9, 11, 13]),
+ ("b1", &vec![1, 3, 5, 7, 8, 8, 10]),
+ ("c1", &vec![10, 30, 50, 70, 90, 110, 130]),
+ )
+ }
+
+ fn build_semi_anti_right_table() -> Arc<dyn ExecutionPlan> {
+ // just two line match
+ // b2 = 10
+ build_table(
+ ("a2", &vec![2, 4, 6, 8, 10, 12]),
+ ("b2", &vec![2, 4, 6, 8, 10, 10]),
Review Comment:
If i change the order ob `b2`, i should change the order for the `a2`,
because there are some `filter for a2` and the join_equal is `b2 with b1`.
--
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]