From fa3e2a5e1a0c2340e48c4e6e966254caf5e68e9e Mon Sep 17 00:00:00 2001 From: darkz Date: Sat, 3 Dec 2022 22:11:08 +0800 Subject: [PATCH] Update dolphinscheduler_ddl.sql (#13081) https://github.com/apache/dolphinscheduler/pull/12826 for this pr --- .../sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql index 8b6dbba36b..5e3bb0d421 100644 --- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql +++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql @@ -119,3 +119,4 @@ d// delimiter ; select uc_dolphin_T_t_ds_task_instance_R_test_flag(); DROP FUNCTION uc_dolphin_T_t_ds_task_instance_R_test_flag(); +create index idx_task_instance_process_instance_flag on t_ds_task_instance (process_instance_id, flag);