This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new f18f28c  fix this issue (#8399)
f18f28c is described below

commit f18f28cc4a69e7e0d6bf76724ea721af07f87304
Author: calvin <[email protected]>
AuthorDate: Wed Feb 16 15:10:19 2022 +0800

    fix this issue (#8399)
---
 .../src/main/resources/sql/dolphinscheduler_postgresql.sql            | 4 ++--
 .../sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql 
b/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
index 5d5ce6f..9373740 100644
--- 
a/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
+++ 
b/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
@@ -1877,9 +1877,9 @@ CREATE TABLE t_ds_k8s_namespace (
    namespace          varchar(100) DEFAULT NULL ,
    online_job_num     int DEFAULT '0' ,
    owner              varchar(100) DEFAULT NULL,
-   pod_replicas       int(11) DEFAULT NULL,
+   pod_replicas       int DEFAULT NULL,
    pod_request_cpu    NUMERIC(13,4) NULL,
-   pod_request_memory int(11) DEFAULT NULL,
+   pod_request_memory int DEFAULT NULL,
    tag                varchar(100) DEFAULT NULL,
    limits_cpu         NUMERIC(13,4) NULL,
    k8s                varchar(100) DEFAULT NULL,
diff --git 
a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql
 
b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql
index 854b787..3d62647 100644
--- 
a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql
+++ 
b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql
@@ -169,9 +169,9 @@ EXECUTE 'CREATE TABLE IF NOT EXISTS '|| 
quote_ident(v_schema) ||'."t_ds_k8s_name
    namespace          varchar(100) DEFAULT NULL ,
    online_job_num     int DEFAULT ''0'' ,
    owner              varchar(100) DEFAULT NULL,
-   pod_replicas       int(11) DEFAULT NULL,
+   pod_replicas       int DEFAULT NULL,
    pod_request_cpu    NUMERIC(13,4) NULL,
-   pod_request_memory int(11) DEFAULT NULL,
+   pod_request_memory int DEFAULT NULL,
    tag                varchar(100) DEFAULT NULL,
    limits_cpu         NUMERIC(13,4) NULL,
    k8s                varchar(100) DEFAULT NULL,

Reply via email to