mihaibudiu commented on code in PR #4436:
URL: https://github.com/apache/calcite/pull/4436#discussion_r2164353076


##########
core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java:
##########
@@ -9874,6 +9874,52 @@ public interface Config extends RelRule.Config {
         })
         .withDynamicTable()
         .check();
+
+    sql(sql)
+        .withVolcanoPlanner(false, p -> {
+          p.addRelTraitDef(RelDistributionTraitDef.INSTANCE);
+          p.addRule(CoreRules.FILTER_WITH_PARENT_SUB_QUERY_TO_CORRELATE);
+          p.addRule(EnumerableRules.ENUMERABLE_FILTER_RULE);
+          p.addRule(EnumerableRules.ENUMERABLE_PROJECT_RULE);
+          p.addRule(EnumerableRules.ENUMERABLE_TABLE_SCAN_RULE);
+          p.addRule(EnumerableRules.ENUMERABLE_JOIN_RULE);
+          p.addRule(EnumerableRules.ENUMERABLE_AGGREGATE_RULE);
+        })
+        .withDynamicTable()
+        .check();
+  }
+
+  /**
+   * Test case for
+   * <a 
href="https://issues.apache.org/jira/browse/CALCITE-6899";>[CALCITE-6899]
+   * Mismatch of Trait information results in a missing conversion 
exception</a>. */
+  @Test void testEnumerableFilterRule2() {

Review Comment:
   can you have to tests in a single function?
   They won't show up both in the xml



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

Reply via email to