davidradl commented on code in PR #27166:
URL: https://github.com/apache/flink/pull/27166#discussion_r2472609643
##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/stream/sql/MultiJoinTest.java:
##########
@@ -298,6 +298,16 @@ void testFourWayJoinNoCommonJoinKeyRelPlan() {
+ "LEFT JOIN Shipments s ON p.payment_id =
s.user_id_3");
}
+ @Test
+ void testFourWayJoinNoCommonJoinKeyRelPlan2() {
+ util.verifyRelPlan(
+ "SELECT u.user_id_0, u.name, o.order_id, p.payment_id,
s.location "
+ + "FROM Users u "
+ + "LEFT JOIN Orders o ON u.user_id_0 = o.user_id_1 "
+ + "LEFT JOIN Payments p ON u.user_id_0 = p.user_id_2
AND u.name = p.payment_id "
Review Comment:
I am curious how an OR would effect this?
--
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]