You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Kikyou1997 (via GitHub)" <gi...@apache.org> on 2023/03/24 08:33:56 UTC
[GitHub] [doris] Kikyou1997 commented on a diff in pull request #18069: [Improvement](statistics) Support for statistics removing and incremental collection
Kikyou1997 commented on code in PR #18069:
URL: https://github.com/apache/doris/pull/18069#discussion_r1147258776
##########
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:
Why changed this?
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org