snuyanzin commented on code in PR #28316:
URL: https://github.com/apache/flink/pull/28316#discussion_r3487958600
##########
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/runtime/batch/sql/agg/GroupingSetsITCase.scala:
##########
@@ -618,13 +618,12 @@ class GroupingSetsITCase extends BatchTestBase {
"select deptno, group_id() as g, count(*) as c " +
"from scott_emp group by grouping sets (deptno, (), ())",
Seq(
+ // Suddenly before CALCITE-7126 it returned result different from
Postgres/Oracle
row(10, 0, 3),
- row(10, 1, 3),
row(20, 0, 5),
- row(20, 1, 5),
row(30, 0, 6),
- row(30, 1, 6),
- row(null, 0, 14))
+ row(null, 0, 14),
+ row(null, 1, 14))
Review Comment:
suddenly before this fix the query returned wrong data (now aligned with
Oracle/Postgres)
--
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]