stalary commented on code in PR #9271: URL: https://github.com/apache/incubator-doris/pull/9271#discussion_r860999846
########## fe/fe-core/src/main/java/org/apache/doris/analysis/CreateTableAsSelectStmt.java: ########## @@ -62,17 +73,6 @@ public void analyze(Analyzer analyzer) throws UserException { if (columnNames != null && columnNames.size() != resultExprs.size()) { ErrorReport.reportAnalysisException(ErrorCode.ERR_COL_NUMBER_NOT_MATCH); } - } - - public CreateTableStmt getCreateTableStmt() { - return createTableStmt; - } - - public List<String> getColumnNames() { - return columnNames; - } - - public QueryStmt getQueryStmt() { - return queryStmt; + // Cannot analyze insertStmt because the table has not been created yet Review Comment: > i think make this comment as a method function should be better sorry, At present still under development, has not run, in the debugging stage -- 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: commits-unsubscr...@doris.apache.org 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