yiguolei commented on code in PR #39177: URL: https://github.com/apache/doris/pull/39177#discussion_r1712429316
########## fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java: ########## @@ -540,6 +540,16 @@ public class SchemaTable extends Table { .column("IS_GRANTABLE", ScalarType.createVarchar(IS_GRANTABLE_LEN)) .build()) ) + .put("workload_group_resource_usage", + new SchemaTable(SystemIdGenerator.getNextId(), "workload_group_resource_usage", TableType.SCHEMA, + builder().column("BE_ID", ScalarType.createType(PrimitiveType.BIGINT)) + .column("WORKLOAD_GROUP_ID", ScalarType.createType(PrimitiveType.BIGINT)) + .column("MEMORY_USAGE_BYTES", ScalarType.createType(PrimitiveType.BIGINT)) + .column("CPU_USAGE", ScalarType.createVarchar(256)) Review Comment: 要不把这列的类型定义为整数,这样用户可以排序。 然后把列名改成CPU_USAGE(%)这样 -- 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