Berkof commented on a change in pull request #9276:
URL: https://github.com/apache/ignite/pull/9276#discussion_r689295469
##########
File path:
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/QueryChecker.java
##########
@@ -89,6 +91,72 @@
return containsSubPlan("IgniteIndexScan(table=[[" + schema + ", " +
tblName + "]], index=[" + idxName + ']');
}
+ /**
+ * Ignite cost mather.
+ *
+ * @param cost TestCost to match.
+ * @return Matcher.
+ */
+ public static Matcher<String>
containsCost(ServerStatisticsIntegrationTest.TestCost cost) {
Review comment:
But only tests for cost weight should use it. We definitely should
change such tests if we change weights.
--
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]