kangkaisen commented on a change in pull request #3378: URL: https://github.com/apache/incubator-doris/pull/3378#discussion_r413054209
########## File path: fe/src/main/java/org/apache/doris/analysis/SelectList.java ########## @@ -98,6 +98,24 @@ public void rewriteExprs(ExprRewriter rewriter, Analyzer analyzer) item.setExpr(rewriter.rewrite(item.getExpr(), analyzer)); } } + + public String toOriginSql() { + // Select list + StringBuilder strBuilder = new StringBuilder(); + strBuilder.append("SELECT "); + if (isDistinct) { + strBuilder.append("DISTINCT "); + } + for (int i = 0; i < items.size(); ++i) { + // strBuilder.append(selectList.getItems().get(i).toSql()); Review comment: Remove. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org