wnob opened a new pull request #2483: URL: https://github.com/apache/calcite/pull/2483
This addreses [CALCITE-4726][1]. Also simplify some edge cases: 1. When a matched aggregate only contains agg calls with distinct keys (i.e. none of them are non-distinct), don't bother grouping by the original group set, since that grouping would be ignored anyway. 2. If there is only 1 resulting grouping set (i.e. all of the agg calls have identical distinct keys), don't bother filtering based on the value of a `GROUPING(...)` call, since there is only 1 grouping. [1]: https://issues.apache.org/jira/projects/CALCITE/issues/CALCITE-4726 -- 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]
