morrySnow commented on code in PR #34305: URL: https://github.com/apache/doris/pull/34305#discussion_r1590611039
########## fe/fe-core/src/main/java/org/apache/doris/catalog/InternalSchemaInitializer.java: ########## @@ -158,8 +164,15 @@ public static void modifyTblReplicaCount(Database database, String tblName) { @VisibleForTesting public static void createTbl() throws UserException { // statistics - Env.getCurrentEnv().getInternalCatalog().createTable(buildStatisticsTblStmt()); - Env.getCurrentEnv().getInternalCatalog().createTable(buildHistogramTblStmt()); + Env.getCurrentEnv().getInternalCatalog().createTable( + buildStatisticsTblStmt(StatisticConstants.TABLE_STATISTIC_TBL_NAME, + Lists.newArrayList("id", "catalog_id", "db_id", "tbl_id", "idx_id", "col_id", "part_id"))); + Env.getCurrentEnv().getInternalCatalog().createTable( + buildStatisticsTblStmt(StatisticConstants.PARTITION_STATISTIC_TBL_NAME, + Lists.newArrayList("catalog_id", "db_id", "tbl_id", "idx_id", "part_id", "col_id"))); + // Env.getCurrentEnv().getInternalCatalog().createTable( + // buildStatisticsTblStmt(StatisticConstants.HISTOGRAM_TBL_NAME, + // Lists.newArrayList("id", "catalog_id", "db_id", "tbl_id", "idx_id", "col_id"))); Review Comment: remove 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-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