You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/08/06 06:20:56 UTC

[GitHub] [calcite] danny0405 commented on a change in pull request #2097: [CALCITE-4154] ProjectAggregateMergeRule and [CALCITE-3957] Merge SUM0 into COUNT

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:
users@infra.apache.org