dataroaring commented on code in PR #39994:
URL: https://github.com/apache/doris/pull/39994#discussion_r1759672491
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:
##########
@@ -2650,6 +2657,10 @@ private boolean createOlapTable(Database db,
CreateTableStmt stmt) throws UserEx
} catch (AnalysisException e) {
throw new DdlException(e.getMessage());
}
+ if (enableUniqueKeyMergeOnWrite && !enableLightSchemaChange &&
!CollectionUtils.isEmpty(
+ keysDesc.getClusterKeysColumnNames())) {
+ throw new DdlException("Unique merge-on-write table with
cluster keys must enable light schema change");
Review Comment:
Unique merge-on-write tables with cluster keys require light schema change
to be enabled.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]