You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/28 15:01:13 UTC

[GitHub] [incubator-doris] stalary commented on a diff in pull request #9271: [Feature-wip] CTAS support insert data

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org