gianm commented on code in PR #16003:
URL: https://github.com/apache/druid/pull/16003#discussion_r1529811551


##########
sql/src/test/java/org/apache/druid/sql/calcite/CalciteJoinQueryTest.java:
##########
@@ -3826,13 +3826,16 @@ public void 
testJoinWithExplicitIsNotDistinctFromCondition(Map<String, Object> q
                 .context(queryContext)
                 .build()
         ),
-        ImmutableList.of(
-            new Object[]{"", ""},
-            new Object[]{"10.1", "10.1"},
-            new Object[]{"2", "2"},
-            new Object[]{"1", "1"},
-            new Object[]{"def", "def"},
-            new Object[]{"abc", "abc"}
+        sortIfSortBased(
+            ImmutableList.of(
+                new Object[]{"", ""},
+                new Object[]{"10.1", "10.1"},
+                new Object[]{"2", "2"},
+                new Object[]{"1", "1"},
+                new Object[]{"def", "def"},
+                new Object[]{"abc", "abc"}
+            ),
+            0
         )
     );
   }

Review Comment:
   Good news, `testJoinWithExplicitIsNotDistinctFromCondition` is that test 
case 😄
   
   This test was passing on `master` because the join was getting switched 
quietly to broadcast. Now it actually runs as sort-merge, which is why I had to 
add `sortIfSortBased` (the results are now in a different order).



-- 
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]

Reply via email to