Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#9225] fix(scripts): Fix errors in upgrade scripts in PG (#9226)

Mini Yua3814897987d
diff --git a/scripts/postgresql/upgrade-1.0.0-to-1.1.0-postgresql.sql b/scripts/postgresql/upgrade-1.0.0-to-1.1.0-postgresql.sql
index 8a45186957..72dae7977f 100644
--- a/scripts/postgresql/upgrade-1.0.0-to-1.1.0-postgresql.sql
+++ b/scripts/postgresql/upgrade-1.0.0-to-1.1.0-postgresql.sql
@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS table_version_info (
table_id BIGINT NOT NULL,
format VARCHAR(64),
properties TEXT,
- partitions TEXT,
+ partitioning TEXT,
distribution TEXT,
sort_orders TEXT,
indexes TEXT,
@@ -34,7 +34,7 @@ COMMENT ON TABLE table_version_info IS 'table detail informatio
COMMENT ON COLUMN table_version_info.table_id IS 'table id';
COMMENT ON COLUMN table_version_info.format IS 'table format, such as Lance, Iceberg and so on, it will be null if it is not a lakehouse table';
COMMENT ON COLUMN table_version_info.properties IS 'table properties';
-COMMENT ON COLUMN table_version_info.partitions IS 'table partition info';
+COMMENT ON COLUMN table_version_info.partitioning IS 'table partition info';
COMMENT on COLUMN table_version_info.distribution IS 'table distribution info';
COMMENT ON COLUMN table_version_info.sort_orders IS 'table sort order info';
COMMENT ON COLUMN table_version_info.indexes IS 'table index info';