kangkaisen commented on a change in pull request #2781: Batch Operate Rollup 
table in Doris #2671
URL: https://github.com/apache/incubator-doris/pull/2781#discussion_r374510350
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -3543,6 +3548,32 @@ private void createOlapTable(Database db, 
CreateTableStmt stmt) throws DdlExcept
         olapTable.setIndexSchemaInfo(baseIndexId, tableName, baseSchema, 
schemaVersion, schemaHash,
                 shortKeyColumnCount);
 
+
+        for (AlterClause alterClause : stmt.getRollupAlterClauseList()) {
+            AddRollupClause addRollupClause = (AddRollupClause)alterClause;
+
+            // TODO(wangbo): 2020/2/3 doris auto select base rollup
 
 Review comment:
   Remove this comment.  One Olap table always has one base index.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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

Reply via email to