xiedeyantu commented on code in PR #4489:
URL: https://github.com/apache/calcite/pull/4489#discussion_r2251758225
##########
core/src/test/resources/sql/agg.iq:
##########
@@ -3897,4 +3897,104 @@ EnumerableCalc(expr#0=[{inputs}],
expr#1=[CAST($t0):BIGINT NOT NULL], M=[$t1])
EnumerableTableScan(table=[[scott, EMP]])
!plan
+# [CALCITE-7116] Optimize queries with GROUPING SETS by converting them into
equivalent UNION ALL of GROUP BY operations
+# Before SQL
+SELECT deptno, job, sal, SUM(comm),
Review Comment:
This SQL seems to get the wrong result. I created a JIRA
[CALCITE-7126](https://issues.apache.org/jira/browse/CALCITE-7126) to log this
issue.
--
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]