This is an automated email from the ASF dual-hosted git repository.
wenjun 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 dde45dbdfb [Fix-13972][dao] set default value for command (#14612)
dde45dbdfb is described below
commit dde45dbdfba3f6591ae8ccbe1c2f70d154fb2106
Author: eye-gu <[email protected]>
AuthorDate: Mon Aug 14 09:53:26 2023 +0800
[Fix-13972][dao] set default value for command (#14612)
---
.../src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java
index d4c2d9a8ff..788f9c14ae 100644
---
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java
+++
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java
@@ -61,9 +61,11 @@ public class Command {
private String commandParam;
@TableField("task_depend_type")
+ @Builder.Default
private TaskDependType taskDependType = TaskDependType.TASK_POST;
@TableField("failure_strategy")
+ @Builder.Default
private FailureStrategy failureStrategy = FailureStrategy.CONTINUE;
@TableField("warning_type")
@@ -82,6 +84,7 @@ public class Command {
private Priority processInstancePriority;
@TableField("update_time")
+ @Builder.Default
private Date updateTime = new Date();
@TableField("worker_group")