yujun777 commented on code in PR #48988:
URL: https://github.com/apache/doris/pull/48988#discussion_r1992611480
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:
##########
@@ -1766,6 +1766,8 @@ public PartitionPersistInfo addPartition(Database db,
String tableName, AddParti
if (!isCreateTable) {
beforeCreatePartitions(db.getId(), olapTable.getId(),
partitionIds, indexIds, isCreateTable);
}
+ // init column unique id for indexes
+ olapTable.initIndexColumnUniqueId();
Review Comment:
why recreate column uniqud id list for every time creating a partition ? if
every time recreating, it should not use a variable to store it, instead
should use a Getter function from OlapTable.
--
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]