xuzifu666 commented on code in PR #5026:
URL: https://github.com/apache/calcite/pull/5026#discussion_r3437640720
##########
core/src/main/java/org/apache/calcite/sql/SqlSelectOperator.java:
##########
@@ -152,8 +153,14 @@ public SqlSelect createCall(
}
writer.topN(select.fetch, select.offset);
final SqlNodeList selectClause = select.selectList;
- writer.list(SqlWriter.FrameTypeEnum.SELECT_LIST, SqlWriter.COMMA,
- selectClause);
+ if (writer.getDialect().alwaysUseExprAlias()) {
Review Comment:
Thank you for the suggestion, and I would resolve it in this way.
--
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]