julianhyde commented on a change in pull request #2097:
URL: https://github.com/apache/calcite/pull/2097#discussion_r466536309
##########
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:
I don't think so. I wanted to just cover the common case (simple
programs with a few rules). For complex cases, people should continue to
explicitly build programs.
----------------------------------------------------------------
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]