You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/15 08:51:56 UTC

[GitHub] [incubator-linkis] Fuu3214 opened a new issue #1732: [Feature] [entrance] support more run_date based variables

Fuu3214 opened a new issue #1732:
URL: https://github.com/apache/incubator-linkis/issues/1732


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar feature requirement.
   
   
   ### Problem Description
   
   Currently Linkis alows user to use variables such as 'run_date', 'run_month' etc. to be automatically substitude with current time. We are planning to support more variables as follow:
   
   run_quarter_begin : begining date of current quarter, e.g. 20220101
   run_quarter_begin_std : begining date of current quarter, e.g. 2022-01-01
   run_quarter_end : ending date of current quarter, e.g. 20220331
   run_quarter_end_std : ending date of current quarter, e.g. 2022-03-31
   run_half_year_begin : begining date of current half year, e.g. 20220101
   run_half_year_begin_std : begining date of current half year, e.g. 2022-01-01
   run_half_year_end : ending date of current half yaer, e.g. 20220630
   run_half_year_end_std : ending date of current half yaer, e.g. 2022-06-30
   run_year_begin : begining date of current yaer, e.g. 20220101
   run_year_begin_std : begining date of current yaer, e.g. 2022-01-01
   run_year_end : ending date of current yaer, e.g. 20221231
   run_year_end_std : ending date of current yaer, e.g. 2022-12-31
   
   
   ### Description
   
   should added some  variables in linkis-entrance
   
   ### Use case
   
   Assuming today is 20220315, in your shell code, write the following:
   echo "${run_year_begin}"
   
   result:
   > 20220101
   
   ### solutions
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] Davidhua1996 closed issue #1732: [Feature] [entrance] support more run_date based variables

Posted by GitBox <gi...@apache.org>.
Davidhua1996 closed issue #1732:
URL: https://github.com/apache/incubator-linkis/issues/1732


   


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org