dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[DSIP-77][task-api] Add cycle dependency type

Open fengjian1129 opened this issue 4 months ago • 7 comments

Search before asking

  • [X] I had searched in the DSIP and found no similar DSIP.

Motivation

DolphinScheduler currently lacks dependency types scheduled at the same cycle level, such as the current thisMonth type, which mainly detects instances that have been successfully executed every day of the current month before they can continue to execute. In most data generation, two tasks scheduled at the same month level are also required, and only instances that have been successfully executed once in the current month need to be detected. However, other scheduling dependency types also have similar issues, such as lastMonth,lastWeek,last7Days, last3Days, etc. They are all task dependency types that detect successful instances within a certain time range. We need a task dependency type that only detects one successful instance within the execution cycle.

Design Detail

Add cycle dependency type , such as last1Date last2Date ... lastNdate lastNmonthDate lastNWeek,etc. only detects one successful instance within the execution cycle.

Compatibility, Deprecation, and Migration Plan

No response

Test Plan

No response

Code of Conduct

fengjian1129 avatar Oct 18 '24 04:10 fengjian1129