wasabii opened a new pull request, #5257: URL: https://github.com/apache/calcite/pull/5257
## Jira Link [CALCITE-7774](https://issues.apache.org/jira/browse/CALCITE-7774) ## Changes Proposed `MssqlSqlDialect` now returns false from `supportsGroupByLiteral()`, so `SqlImplementor.visitRoot` applies `AggregateProjectConstantToDummyJoinRule` and the constant moves out of the `GROUP BY` into a dummy join. SQL Server has no form of `GROUP BY <constant>` it will accept, so there was nothing to fix in the unparsing. Added MSSQL expectations to `testGroupByBooleanLiteral` and `testGroupByDateLiteral`, which already cover Redshift and Informix for the same gate. -- 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]
