You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/09 08:32:20 UTC

[GitHub] [dolphinscheduler] Weipleasure opened a new issue #8770: [Feature][API] Custom built-in parameters

Weipleasure opened a new issue #8770:
URL: https://github.com/apache/dolphinscheduler/issues/8770


   ### 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
   
   中文描述:
   【功能】【API】自定义内置参数
   所有项目当中的工作流都可以获取到自定义的内置参数。
   
   ### Use case
   
   目前最新2.0.5版本提供内置参数都是基于T-1等相关的时间参数,但是金融行业(证券)相对特殊,定时跑批任务时间不是T-1(跑批时间参数不固定),而是交易日。由于每个工作流的时间参数都是一样的(上一个交易日),工作流之间的参数不能传递,只有在同一个工作流内部的参数才可以传递。因此,为了所有工作流的获取时间参数一样,我们在所有项目的每个工作流开始的第一个任务都是获取交易日,并设置为时间参数,作为参数传递下去。我们希望可以自定义内置参数,方便所有工作流获取。
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] 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

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



[GitHub] [dolphinscheduler] caishunfeng commented on issue #8770: [Feature][API] Custom built-in parameters

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #8770:
URL: https://github.com/apache/dolphinscheduler/issues/8770#issuecomment-1062708132


   @Weipleasure Good idea, can you add your design or what will you change to this issue description?
   
   BTW, it's better to use the English first, which can make foreign developers also understand.


-- 
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



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8770: [Feature][API] Custom built-in parameters

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8770:
URL: https://github.com/apache/dolphinscheduler/issues/8770#issuecomment-1062675963


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
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



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8770: [Feature][API] Custom built-in parameters

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8770:
URL: https://github.com/apache/dolphinscheduler/issues/8770#issuecomment-1062675757


   ### 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
   
   Chinese description:
   [Function] [API] Customize built-in parameters
   Workflows in all projects can get custom built-in parameters.
   
   ### Use case
   
   At present, the built-in parameters provided in the latest version 2.0.5 are based on T-1 and other related time parameters, but the financial industry (securities) is relatively special. The time for the scheduled batch running task is not T-1 (the batch running time parameter is not fixed), but trading day. Since the time parameters of each workflow are the same (the previous trading day), parameters between workflows cannot be passed, only parameters within the same workflow can be passed. Therefore, in order to obtain the same time parameter for all workflows, the first task we start in each workflow of all projects is to obtain the trading day, set it as the time parameter, and pass it on as a parameter. We hope that built-in parameters can be customized to facilitate access to all workflows.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] 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

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