apache / apache/dolphinscheduler
[Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 5.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 29
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
example:
Today is August 26, 2024
Yesterday: $[yyyy-MM-dd-1] = 2024-08-25
At the beginning of the month: ??? = 2024-08-25 --> 2024-08-01
Unable to obtain the beginning date of the month based on $[yyyy-MM-dd-1]
### Use case
I hope to express it through built-in parameters and pass the parameters through another task
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
Start by tracing DolphinScheduler's built-in parameter handling for date expressions such as $[yyyy-MM-dd-1]. Confirm how parameters are passed to another task, then define and test behavior that resolves the beginning of the current month, such as 2024-08-01 for August 26, 2024.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100