Vladsz83 commented on code in PR #11935:
URL: https://github.com/apache/ignite/pull/11935#discussion_r2020784402
##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/planner/JoinCommutePlannerTest.java:
##########
@@ -76,9 +94,24 @@ public class JoinCommutePlannerTest extends
AbstractPlannerTest {
);
}
+ /** */
+ @Override protected void afterTest() throws Exception {
+ super.afterTest();
+
+ lsnrLog.clearListeners();
+
+ ((GridTestLog4jLogger)log).setLevel(Level.INFO);
+ }
+
/** */
@Test
public void testOuterCommute() throws Exception {
+ LogListener lsnr = LogListener.matches("Joins order optimization
took").times(0).build();
Review Comment:
This join order optimization is processed in a dedicated HepPlanner with own
listener. I think we need additional refactoring to pass a listener there.
Also, the rule event doesn't guarantee the optimization success. We may still
return the root node. The log does.
--
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]