mihaibudiu commented on code in PR #5130:
URL: https://github.com/apache/calcite/pull/5130#discussion_r3668277091
##########
core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java:
##########
@@ -194,6 +194,8 @@ protected SqlImplementor(SqlDialect dialect) {
public final Result visitRoot(RelNode r) {
List<RelOptRule> rules = new ArrayList<>();
if (!this.dialect.supportsGroupByLiteral()) {
+ rules.add(CoreRules.PROJECT_MERGE);
Review Comment:
It's not obvious to me why this solves the problem. Can you explain?
--
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]