This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new 44f673649 [ISSUE-3805] Remove redundant values in table `t_flink_app`
insert statement (#3807)
44f673649 is described below
commit 44f67364979d2675fd3a2c0205ebe4223d24f672
Author: Zhengke Zhou <[email protected]>
AuthorDate: Fri Jun 28 00:58:51 2024 +0800
[ISSUE-3805] Remove redundant values in table `t_flink_app` insert
statement (#3807)
Co-authored-by: benjobs <[email protected]>
---
.../src/main/assembly/script/data/mysql-data.sql | 6 +++++-
.../src/main/assembly/script/data/pgsql-data.sql | 6 +++++-
.../streampark-console-service/src/main/resources/db/data-h2.sql | 6 +++++-
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git
a/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql
b/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql
index 663831096..e94f691fa 100644
---
a/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql
+++
b/streampark-console/streampark-console-service/src/main/assembly/script/data/mysql-data.sql
@@ -30,7 +30,11 @@ insert into `t_team` values (100000, 'default', null, now(),
now());
-- ----------------------------
-- Records of t_flink_app
-- ----------------------------
-insert into `t_flink_app` values (100000, 100000, 2, 4, null, null, 'Flink SQL
Demo', null, null, null, null, null, null , null, 100000, null, 1, null, null,
null, null, null, null, null, null, 0, 0, null, null, null, null, null, null,
'Flink SQL Demo', 0, null, null, null, null, null, null, null, 0, 0, now(),
now(), null, 1, 1, null, null, null, null, null, null, 0, null, null, null,
'streampark,test', 0, null);
+INSERT INTO `t_flink_app` (
+ `id`, `team_id`, `job_type`, `execution_mode`, `job_name`, `user_id`,
`app_type`, `state`, `restart_size`,
+ `description`,`resolve_order`,`option_state`,`tracking`,`create_time`,
`modify_time`,`release`, `build`,
+ `k8s_hadoop_integration`,`tags`
+) VALUES (100000, 100000, 2, 4, 'Flink SQL Demo', 100000, 1, 0, 0, 'Flink SQL
Demo', 0, 0, 0, now(), now(), 1, 1, 0, 'streampark,test');
-- ----------------------------
-- Records of t_flink_effective
diff --git
a/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql
b/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql
index 686865b1d..74bd67280 100644
---
a/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql
+++
b/streampark-console/streampark-console-service/src/main/assembly/script/data/pgsql-data.sql
@@ -25,7 +25,11 @@ insert into "public"."t_team" values (100000, 'default',
null, now(), now());
-- ----------------------------
-- Records of t_flink_app
-- ----------------------------
-insert into "public"."t_flink_app" values (100000, 100000, 2, 4, null, null,
'Flink SQL Demo', null, null, null, null, null, null , null, 100000, null, 1,
null, null, null, null, null, null, null, null, 0, 0, null, null, null, null,
null, null, 'Flink SQL Demo', 0, null, null, null, null, null, null, null, 0,
0, now(), now(), null, 1, true, null, null, null, null, null, null, false,
null, null, null, 'streampark,test', false, null);
+INSERT INTO "public"."t_flink_app" (
+ "id", "team_id", "job_type", "execution_mode", "job_name", "user_id",
"app_type", "state", "restart_size",
+ "description", "resolve_order", "option_state", "tracking", "create_time",
"modify_time", "release", "build",
+ "k8s_hadoop_integration", "tags"
+) VALUES (100000, 100000, 2, 4, 'Flink SQL Demo', 100000, 1, 0, 0, 'Flink SQL
Demo', 0, 0, 0, now(), now(), 1, true, false, 'streampark,test');
-- ----------------------------
-- Records of t_flink_effective
diff --git
a/streampark-console/streampark-console-service/src/main/resources/db/data-h2.sql
b/streampark-console/streampark-console-service/src/main/resources/db/data-h2.sql
index 32d36d41c..16b16012e 100644
---
a/streampark-console/streampark-console-service/src/main/resources/db/data-h2.sql
+++
b/streampark-console/streampark-console-service/src/main/resources/db/data-h2.sql
@@ -24,7 +24,11 @@ insert into `t_team` values (100001, 'test', 'The test
team', now(), now());
-- ----------------------------
-- Records of t_flink_app
-- ----------------------------
-insert into `t_flink_app` values (100000, 100000, 2, 4, null, null, 'Flink SQL
Demo', null, null, null, null, null, null , null, 100000, null, 1, null, null,
null, null, null, null, null, null, '0', 0, null, null, null, null, null, null,
'Flink SQL Demo', 0, null, null, null, null, null, null, null, 0, 0, now(),
now(), null, 1, 1, null, null, null, null, null, null, 0, null, null, null,
'streampark,test', 0, null);
+INSERT INTO `t_flink_app` (
+ `id`, `team_id`, `job_type`, `execution_mode`, `job_name`, `user_id`,
`app_type`, `state`, `restart_size`,
+ `description`,`resolve_order`,`option_state`,`tracking`,`create_time`,
`modify_time`,`release`, `build`,
+ `k8s_hadoop_integration`,`tags`
+) VALUES (100000, 100000, 2, 4, 'Flink SQL Demo', 100000, 1, '0', 0, 'Flink
SQL Demo', 0, 0, 0, now(), now(), 1, 1, 0, 'streampark,test');
-- ----------------------------
-- Records of t_flink_effective