chunweilei commented on a change in pull request #1355: [CALCITE-3228] Error 
while applying rule ProjectScanRule: interpreter
URL: https://github.com/apache/calcite/pull/1355#discussion_r311451508
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/tools/FrameworksTest.java
 ##########
 @@ -292,6 +293,43 @@ private void checkTypeSystem(final int expected, 
FrameworkConfig config) {
         });
   }
 
+  /** Test case for
+   * <a 
href="https://issues.apache.org/jira/browse/CALCITE-3228";>[CALCITE-3228]
+   * Error while applying rule ProjectScanRule:interpreter</a>
+   *
+   * <p>This bug appears under the following conditions:
+   * 1) have an aggregate with group by and multi aggregate calls.
+   * 2) the aggregate can be removed during optimization.
 
 Review comment:
   for the query in my test case which is `select min(id) as mi, max(id) as ma 
from mytable where id=1 group by id`, there is only on group. 

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


With regards,
Apache Git Services

Reply via email to