-
Notifications
You must be signed in to change notification settings - Fork 5k
[DSIP-77][task-api] Add cycle dependency type #16706
Description
Search before asking
- 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
- I agree to follow this project's Code of Conduct