ByteYue commented on code in PR #11169:
URL: https://github.com/apache/doris/pull/11169#discussion_r933856889


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalDataSource.java:
##########
@@ -1718,6 +1713,26 @@ private void createOlapTable(Database db, 
CreateTableStmt stmt) throws UserExcep
         // this should be done before create partition.
         Map<String, String> properties = stmt.getProperties();
 
+        // get use light schema change
+        Boolean useLightSchemaChange = true;
+        try {
+            useLightSchemaChange = 
PropertyAnalyzer.analyzeUseLightSchemaChange(properties);

Review Comment:
   Yes, this new property only affects whether the column would be assigned a 
unique id or not.
   Alter table job will try to use the light schema change optimization (like 
add new value column) if the columns of the tables are assigned unique id.



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

Reply via email to