Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
Tracked by #14102
fengjian1129 opened this issue Oct 18, 2024 · 7 comments
Open
2 tasks done
Tracked by #14102

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

fengjian1129 opened this issue Oct 18, 2024 · 7 comments
Labels

Comments

@fengjian1129
Copy link
Contributor

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

@davidzollo davidzollo removed the Waiting for reply Waiting for reply label Oct 18, 2024
@davidzollo
Copy link
Contributor

What does the UI look like when lastNdate is selected?

@fengjian1129
Copy link
Contributor Author

What does the UI look like when lastNdate is selected?

Now I want to implement some fixed types first because I can't write the front-end interface. I can organize the documents for the newly added fixed scheduling types and submit them to the community

@SbloodyS SbloodyS added the discussion discussion label Oct 18, 2024
@SbloodyS SbloodyS changed the title [DSIP-77][task-api] Add cycle dependency type [DSIP][task-api] Add cycle dependency type Oct 18, 2024
@SbloodyS
Copy link
Member

SbloodyS commented Oct 18, 2024

I think this proposal is very good. I'm +1 on this.

Now I want to implement some fixed types first because I can't write the front-end interface. I can organize the documents for the newly added fixed scheduling types and submit them to the community

Since this kind of modification is not very huge. Only when the front-end and back-end as well as the documents and tests are complete will the merger be allowed.

@SbloodyS SbloodyS changed the title [DSIP][task-api] Add cycle dependency type [DSIP-77][task-api] Add cycle dependency type Oct 18, 2024
@SbloodyS SbloodyS mentioned this issue Oct 18, 2024
76 tasks
@davidzollo
Copy link
Contributor

+1

@fengjian1129
Copy link
Contributor Author

I think this proposal is very good. I'm +1 on this.

Now I want to implement some fixed types first because I can't write the front-end interface. I can organize the documents for the newly added fixed scheduling types and submit them to the community

Since this kind of modification is not very huge. Only when the front-end and back-end as well as the documents and tests are complete will the merger be allowed.

May I ask if there is any documentation for compiling backend code and frontend code? I want to try debugging, I only submitted backend code before

@SbloodyS
Copy link
Member

May I ask if there is any documentation for compiling backend code and frontend code? I want to try debugging, I only submitted backend code before

You can take a look at https://dolphinscheduler.apache.org/zh-cn/docs/dev/contribute/development-environment-setup

@fengjian1129
Copy link
Contributor Author

May I ask if there is any documentation for compiling backend code and frontend code? I want to try debugging, I only submitted backend code before

You can take a look at https://dolphinscheduler.apache.org/zh-cn/docs/dev/contribute/development-environment-setup

thx , bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants