From bc7a2d99f2f572f8a3599bccbce6e9a84ed88c2e Mon Sep 17 00:00:00 2001 From: fuweng11 <76141879+fuweng11@users.noreply.github.com> Date: Fri, 10 May 2024 18:08:05 +0800 Subject: [PATCH] [INLONG-10176][Manager] Fix the problem of sort_config table creation statement error (#10177) --- .../src/main/resources/h2/apache_inlong_manager.sql | 3 +-- inlong-manager/manager-web/sql/apache_inlong_manager.sql | 3 +-- inlong-manager/manager-web/sql/changes-1.12.0.sql | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/inlong-manager/manager-test/src/main/resources/h2/apache_inlong_manager.sql b/inlong-manager/manager-test/src/main/resources/h2/apache_inlong_manager.sql index 59ee994fa17..c9f9a424b79 100644 --- a/inlong-manager/manager-test/src/main/resources/h2/apache_inlong_manager.sql +++ b/inlong-manager/manager-test/src/main/resources/h2/apache_inlong_manager.sql @@ -917,8 +917,7 @@ CREATE TABLE IF NOT EXISTS `sort_config` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Incremental primary key', `sink_id` int(11) NOT NULL COMMENT 'Sink id', - `source_params` text NOT NULL COMMENT 'The source params of sort', - `cluster_params` text NOT NULL COMMENT 'The cluster params of sort', + `config_params` text NOT NULL COMMENT 'The config params', `sink_type` varchar(128) NOT NULL COMMENT 'Sink type', `inlong_cluster_name` varchar(128) NOT NULL COMMENT 'Inlong cluster name', `inlong_cluster_tag` varchar(128) NOT NULL COMMENT 'Inlong cluster tag', diff --git a/inlong-manager/manager-web/sql/apache_inlong_manager.sql b/inlong-manager/manager-web/sql/apache_inlong_manager.sql index b7246c1da1b..cff675f287c 100644 --- a/inlong-manager/manager-web/sql/apache_inlong_manager.sql +++ b/inlong-manager/manager-web/sql/apache_inlong_manager.sql @@ -980,8 +980,7 @@ CREATE TABLE IF NOT EXISTS `sort_config` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Incremental primary key', `sink_id` int(11) NOT NULL COMMENT 'Sink id', - `source_params` text NOT NULL COMMENT 'The source params of sort', - `cluster_params` text NOT NULL COMMENT 'The cluster params of sort', + `config_params` text NOT NULL COMMENT 'The config params', `sink_type` varchar(128) NOT NULL COMMENT 'Sink type', `inlong_cluster_name` varchar(128) NOT NULL COMMENT 'Inlong cluster name', `inlong_cluster_tag` varchar(128) NOT NULL COMMENT 'Inlong cluster tag', diff --git a/inlong-manager/manager-web/sql/changes-1.12.0.sql b/inlong-manager/manager-web/sql/changes-1.12.0.sql index 167a952b83a..36cbaefe9a6 100644 --- a/inlong-manager/manager-web/sql/changes-1.12.0.sql +++ b/inlong-manager/manager-web/sql/changes-1.12.0.sql @@ -76,8 +76,7 @@ CREATE TABLE IF NOT EXISTS `sort_config` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Incremental primary key', `sink_id` int(11) NOT NULL COMMENT 'Sink id', - `source_params` text NOT NULL COMMENT 'The source params of sort', - `cluster_params` text NOT NULL COMMENT 'The cluster params of sort', + `config_params` text NOT NULL COMMENT 'The config params', `sink_type` varchar(128) NOT NULL COMMENT 'Sink type', `inlong_cluster_name` varchar(128) NOT NULL COMMENT 'Inlong cluster name', `inlong_cluster_tag` varchar(128) NOT NULL COMMENT 'Inlong cluster tag',