zhannngchen commented on code in PR #16951: URL: https://github.com/apache/doris/pull/16951#discussion_r1121456287
########## fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java: ########## @@ -162,8 +162,20 @@ private boolean processAddColumn(AddColumnClause alterClause, OlapTable olapTabl Set<String> newColNameSet = Sets.newHashSet(column.getName()); - return addColumnInternal(olapTable, column, columnPos, targetIndexId, baseIndexId, indexSchemaMap, - newColNameSet, false, colUniqueIdSupplierMap); + boolean clauseCanLigthSchemaChange = addColumnInternal(olapTable, column, columnPos, targetIndexId, + baseIndexId, indexSchemaMap, newColNameSet, false, colUniqueIdSupplierMap); + if (olapTable.getKeysType() == KeysType.UNIQUE_KEYS) { Review Comment: MoW can't support such kind of change -- 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