simon824 opened a new issue #3805:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3805


   Discussion on the implement of passing variables between tasks
   
   There are three possible solutions :
   
   1. make global variables customizable, used to pass variables between tasks
   
   2. increase the local variables in the taskflow. Someone has already 
implemented it, but it has not been merged. #3659
   
   3. The first task is output to a specified path, and then the content in 
this path is read in the second step;The log is uniformly output to the 
standard error, the result of the task is output to the standard output, and 
the second task directly obtains the standard output content of the first task.
   
   ----
   
   关于Task之间的变量传递特性的讨论
   
   目前有如下三个可能的方案
   
   1. 将全局变量改为可自定义,用来传递Task之间的变量
   2. 增加工作流内部的局部变量,已经有人实现了,但是还未合并,具体实现细节见 #3659
   3. 
第一个task的输出指定输出到一个路径,然后第二步读取这个路径里面的内容;日志统一输出到标准错误,task的结果输出到标准输出,第二个task直接获取第一个task的标准输出内容。
   
   大家可以直接留言选出你觉得好的方案,如果有其他实现方案也欢迎交流


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to