FANNG1 commented on code in PR #10105: URL: https://github.com/apache/gravitino/pull/10105#discussion_r2870329765
########## scripts/h2/schema-1.2.0-h2.sql: ########## @@ -510,3 +510,30 @@ CREATE TABLE IF NOT EXISTS partition_statistic_meta ( ); CREATE INDEX IF NOT EXISTS idx_table_partition ON partition_statistic_meta(table_id, partition_name); + +-- Optimizer metrics schema +CREATE TABLE IF NOT EXISTS `table_metrics` ( + `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', + `table_identifier` VARCHAR(1024) NOT NULL COMMENT 'normalized table identifier', + `metric_name` VARCHAR(1024) NOT NULL COMMENT 'metric name', + `table_partition` VARCHAR(1024) DEFAULT NULL COMMENT 'normalized partition identifier', + `metric_ts` BIGINT(20) NOT NULL COMMENT 'metric timestamp in epoch seconds', + `metric_value` VARCHAR(1024) NOT NULL COMMENT 'metric value payload', Review Comment: metrics value is simple with metric type and int or double with -- 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]
