imay commented on a change in pull request #2617: [Alter Table] No need to 
check whether table is stable when doing some kinds of alter operation
URL: https://github.com/apache/incubator-doris/pull/2617#discussion_r362227508
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/analysis/AlterClause.java
 ##########
 @@ -23,6 +23,12 @@
 
 // Alter table clause.
 public abstract class AlterClause implements ParseNode {
+    // if set to true, the corresponding table should be stable before 
processing this operation on it.
+    protected boolean needTableStable = false;
 
 Review comment:
   I think it's better to set this field default value true. Because if some 
clause don't set this false, it won't cause big problem, just can not do 
something. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to