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

 ##########
 File path: fe/src/main/java/org/apache/doris/alter/MaterializedViewHandler.java
 ##########
 @@ -858,4 +1160,57 @@ public void cancel(CancelStmt stmt) throws DdlException {
             jobDone(rollupJob);
         }
     }
+
+    // There may be dependency relation between user batch input rollup index
+    // e.g, user input rollup index: r1 from r2,r2 from r3 ;the input order 
must be r3,r2,r1
+    // sort rollup index for two reasons:
+    // 1. successfully create rollup index
 
 Review comment:
   Actually, rollup index can't be created in catalog before its parent rollup 
created,so does rollup job runs;so we must first sort rollup index,then  create 
index work and run rollup job;
   I'll change the comment for better understand

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