zhoujinsong commented on code in PR #3109: URL: https://github.com/apache/amoro/pull/3109#discussion_r1735813729
########## amoro-ams/amoro-ams-server/src/main/resources/postgres/ams-postgres-init.sql: ########## @@ -211,6 +212,7 @@ COMMENT ON COLUMN table_runtime.optimizer_group IS 'Optimizer group'; COMMENT ON COLUMN table_runtime.table_config IS 'Table-specific configuration'; COMMENT ON COLUMN table_runtime.optimizing_config IS 'Optimizing configuration'; COMMENT ON COLUMN table_runtime.pending_input IS 'Pending input data'; +COMMENT ON COLUMN table_runtime.table_summary IS 'Table Summary data'; Review Comment: ```suggestion COMMENT ON COLUMN table_runtime.table_summary IS 'Table summary data'; ``` ########## amoro-ams/amoro-ams-server/src/main/resources/postgres/upgrade.sql: ########## @@ -22,3 +22,7 @@ ALTER TABLE `table_blocker` DROP INDEX `table_index`; ALTER TABLE `table_blocker` ADD COLUMN `prev_blocker_id` bigint(20) NOT NULL DEFAULT -1; COMMENT ON COLUMN table_blocker.prev_blocker_id IS 'prev blocker id when created'; ALTER TABLE `table_blocker` ADD UNIQUE KEY `uq_prev` (`catalog_name`,`db_name`,`table_name`, `prev_blocker_id`); + +-- ADD COLUMN table_summary FOR TABLE_RUNTIME +ALTER TABLE table_runtime ADD COLUMN table_summary TEXT; +COMMENT ON COLUMN table_runtime.table_summary IS 'Table Summary data'; Review Comment: ```suggestion COMMENT ON COLUMN table_runtime.table_summary IS 'Table summary data'; ``` -- 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]
