danny0405 commented on a change in pull request #2097:
URL: https://github.com/apache/calcite/pull/2097#discussion_r466170917



##########
File path: core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java
##########
@@ -209,15 +202,11 @@ protected DiffRepository getDiffRepos() {
             + "where case when (sal = 1000) then\n"
             + "(case when sal = 1000 then null else 1 end is null) else\n"
             + "(case when sal = 2000 then null else 1 end is null) end is 
true";
-    sql(sql).withPre(preProgram)
-        .with(hepPlanner)
+    sql(sql).with(hepPlanner)

Review comment:
       Can we also have `withRuleClass` or `withPreRuleClass` ?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to