weizhengte commented on code in PR #18069:
URL: https://github.com/apache/doris/pull/18069#discussion_r1147483874
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchemaInitializer.java:
##########
@@ -154,11 +153,11 @@ public CreateTableStmt buildHistogramTblStmt() throws
UserException {
columnDefs.add(new ColumnDef("buckets",
TypeDef.createVarchar(ScalarType.MAX_VARCHAR_LENGTH)));
columnDefs.add(new ColumnDef("update_time",
TypeDef.create(PrimitiveType.DATETIME)));
String engineName = "olap";
- KeysDesc keysDesc = new KeysDesc(KeysType.UNIQUE_KEYS,
- Lists.newArrayList("id"));
+ ArrayList<String> uniqueKeys = Lists.newArrayList("id", "catalog_id",
Review Comment:
TThis is to use different dimensions to delete statistics, otherwise the
UNIQUE mode can only be deleted by 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: [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]