You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by gi...@apache.org on 2022/03/31 01:57:04 UTC

[dolphinscheduler-website] branch asf-site updated: Automated deployment: c48b5b55a9b5820320b3bce81db4577b0c06f383

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b68f5d6  Automated deployment: c48b5b55a9b5820320b3bce81db4577b0c06f383
b68f5d6 is described below

commit b68f5d60c0d12fe2bc58ad50495e176c5210ed48
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Thu Mar 31 01:57:00 2022 +0000

    Automated deployment: c48b5b55a9b5820320b3bce81db4577b0c06f383
---
 en-us/docs/dev/user_doc/guide/parameter/priority.html | 8 ++++----
 en-us/docs/dev/user_doc/guide/parameter/priority.json | 2 +-
 zh-cn/docs/dev/user_doc/guide/parameter/priority.html | 8 ++++----
 zh-cn/docs/dev/user_doc/guide/parameter/priority.json | 2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/en-us/docs/dev/user_doc/guide/parameter/priority.html b/en-us/docs/dev/user_doc/guide/parameter/priority.html
index 1502d88..137e9a4 100644
--- a/en-us/docs/dev/user_doc/guide/parameter/priority.html
+++ b/en-us/docs/dev/user_doc/guide/parameter/priority.html
@@ -17,7 +17,7 @@
 <li><a href="context.md">Parameter Context</a>: parameters passed by upstream task nodes</li>
 <li><a href="local.md">Local Parameter</a>: parameters belong to its node, which is the parameters defined by the user in [Custom Parameters]. The user can define part of the parameters when creating workflow definitions.</li>
 </ul>
-<p>Due to there are multiple sources of the parameter value, there will raise parameter priority issues when the parameter name is the same. The priority of DolphinScheduler parameters from high to low is: <code>Global Parameter &gt; Parameter Context &gt; Local Parameter</code></p>
+<p>Due to there are multiple sources of the parameter value, there will raise parameter priority issues when the parameter name is the same. The priority of DolphinScheduler parameters from high to low is: <code>Local Parameter &gt; Parameter Context &gt; Global Parameter</code></p>
 <p>In the case of upstream tasks can pass parameters to the downstream, there may be multiple tasks upstream that pass the same parameter name:</p>
 <ul>
 <li>Downstream nodes prefer to use parameters with non-empty values</li>
@@ -27,14 +27,14 @@
 <p>Followings are examples shows task parameters priority problems:#############</p>
 <p>1: Use shell nodes to explain the first case.</p>
 <p><img src="/img/globalParam/image-20210723102938239.png" alt="png01"></p>
-<p>The [useParam] node can use the parameters which are set in the [createParam] node. The [useParam] node cannot obtain the parameters from the [noUseParam] node due to there is no dependency between them. Other task node types have the same usage rules with shell example here.</p>
+<p>The [useParam] node can use the parameters which are set in the [createParam] node. The [useParam] node cannot obtain the parameters from the [noUseParam] node due to there is no dependency between them. Other task node types have the same usage rules with the Shell example here.</p>
 <p><img src="/img/globalParam/image-20210723103316896.png" alt="png02"></p>
-<p>The [createParam] node can use parameters directly. In addition, the node creates two parameters named &quot;key&quot; and &quot;key1&quot; and &quot;key1&quot; has the same name as the one passed by the upstream node and assign value &quot;12&quot;. However, due to the priority rules, the value assignment &quot;12&quot; is discarded and the value from the upstream node is finally used.</p>
+<p>The [createParam] node can use parameters directly. In addition, the node creates two parameters named &quot;key&quot; and &quot;key1&quot;, and &quot;key1&quot; has the same name as the one passed by the upstream node and assign value &quot;12&quot;. However, due to the priority rules, the value assignment will assign &quot;12&quot; and the value from the upstream node is discarded.</p>
 <p>2: Use SQL nodes to explain another case.</p>
 <p><img src="/img/globalParam/image-20210723103937052.png" alt="png03"></p>
 <p>The following shows the definition of the [use_create] node:</p>
 <p><img src="/img/globalParam/image-20210723104411489.png" alt="png04"></p>
-<p>&quot;status&quot; is the own parameters of the node and set by the current node. However, the user also sets the &quot;status&quot; parameter when saving, assigning its value to -1. Then the value of status will be -1 with higher priority when the SQL is executed. The value of the node's own variable is discarded.</p>
+<p>&quot;status&quot; is the own parameters of the node set by the current node. However, the user also sets the &quot;status&quot; parameter (global parameter) when saving the process definition and assign its value to -1. Then the value of status will be 2 with higher priority when the SQL executes. The global parameter value is discarded.</p>
 <p>The &quot;ID&quot; here is the parameter set by the upstream node. The user sets the parameters of the same parameter name &quot;ID&quot; for the [createparam1] node and [createparam2] node. And the [use_create] node uses the value of [createParam1] which is finished first.</p>
 </div></section><footer class="footer-container"><div class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please contact us through the following ways.</h4></div><div class="contact-container"><ul><li><a href="/en-us/community/development/subscribe.html"><img class="img-base" src="/img/emailgray.png"/><img class="img-change" src="/img/emailblue.png"/><p>Email List</p></a></li><li><a href="https://twitter.com/dolphinschedule"><img class="img-base" src="/img/twittergray.png [...]
   <script src="//cdn.jsdelivr.net/npm/react@15.6.2/dist/react-with-addons.min.js"></script>
diff --git a/en-us/docs/dev/user_doc/guide/parameter/priority.json b/en-us/docs/dev/user_doc/guide/parameter/priority.json
index 0b268ba..de59c7f 100644
--- a/en-us/docs/dev/user_doc/guide/parameter/priority.json
+++ b/en-us/docs/dev/user_doc/guide/parameter/priority.json
@@ -1,6 +1,6 @@
 {
   "filename": "priority.md",
-  "__html": "<h1>Parameter Priority</h1>\n<p>DolphinScheduler has three parameter types:</p>\n<ul>\n<li><a href=\"global.md\">Global Parameter</a>: parameters defined at the workflow define page</li>\n<li><a href=\"context.md\">Parameter Context</a>: parameters passed by upstream task nodes</li>\n<li><a href=\"local.md\">Local Parameter</a>: parameters belong to its node, which is the parameters defined by the user in [Custom Parameters]. The user can define part of the parameters when c [...]
+  "__html": "<h1>Parameter Priority</h1>\n<p>DolphinScheduler has three parameter types:</p>\n<ul>\n<li><a href=\"global.md\">Global Parameter</a>: parameters defined at the workflow define page</li>\n<li><a href=\"context.md\">Parameter Context</a>: parameters passed by upstream task nodes</li>\n<li><a href=\"local.md\">Local Parameter</a>: parameters belong to its node, which is the parameters defined by the user in [Custom Parameters]. The user can define part of the parameters when c [...]
   "link": "/dist/en-us/docs/dev/user_doc/guide/parameter/priority.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/guide/parameter/priority.html b/zh-cn/docs/dev/user_doc/guide/parameter/priority.html
index 82bd307..b450999 100644
--- a/zh-cn/docs/dev/user_doc/guide/parameter/priority.html
+++ b/zh-cn/docs/dev/user_doc/guide/parameter/priority.html
@@ -17,8 +17,8 @@
 <li><a href="context.md">上游任务传递的参数</a>:上游任务传递过来的参数</li>
 <li><a href="local.md">本地参数</a>:节点的自有变量,用户在“自定义参数”定义的变量,并且用户可以在工作流定义时定义该部分变量的值</li>
 </ul>
-<p>因为参数的值存在多个来源,当参数名相同时,就需要会存在参数优先级的问题。DolphinScheduler 参数的优先级从高到低为:<code>全局参数 &gt; 上游任务传递的参数 &gt; 本地参数</code></p>
-<p>在上游任务传递的参数的情况下,由于上游可能存在多个任务向下游传递参数。当上游传递的参数名称相同时:</p>
+<p>因为参数的值存在多个来源,当参数名相同时,就需要会存在参数优先级的问题。DolphinScheduler 参数的优先级从高到低为:<code>本地参数 &gt; 上游任务传递的参数 &gt; 全局参数</code></p>
+<p>在上游任务传递的参数中,由于上游可能存在多个任务向下游传递参数,当上游传递的参数名称相同时:</p>
 <ul>
 <li>下游节点会优先使用值为非空的参数</li>
 <li>如果存在多个值为非空的参数,则按照上游任务的完成时间排序,选择完成时间最早的上游任务对应的参数</li>
@@ -29,12 +29,12 @@
 <img src="/img/globalParam/image-20210723102938239.png" alt="image-20210723102938239" style="zoom:50%;" />
 <p>节点 【useParam】可以使用到节点【createParam】中设置的变量。而节点 【useParam】与节点【noUseParam】中并没有依赖关系,所以并不会获取到节点【noUseParam】的变量。上图中只是以 shell 节点作为例子,其他类型节点具有相同的使用规则。</p>
 <img src="/img/globalParam/image-20210723103316896.png" alt="image-20210723103316896" style="zoom:50%;" />
-<p>其中节点【createParam】在使用变量时直接使用即可。另外该节点设置了 &quot;key&quot; 和 &quot;key1&quot; 两个变量,这里用户用定义了一个与上游节点传递的变量名相同的变量 key1,并且赋值为 &quot;12&quot;,但是由于我们设置的优先级的关系,这里的值 &quot;12&quot; 会被抛弃,最终使用上游节点设置的变量值。</p>
+<p>其中节点【createParam】在使用变量时直接使用即可。另外该节点设置了 &quot;key&quot; 和 &quot;key1&quot; 两个变量,这里用户用定义了一个与上游节点传递的变量名相同的变量 key1,并且赋值为 &quot;12&quot;,但是由于我们设置的优先级的关系,这里的值 &quot;12&quot; 会被使用,最终上游节点设置的变量值会被抛弃。</p>
 <p>2:我们再以 sql 节点来解释另外一种情况</p>
 <img src="/img/globalParam/image-20210723103937052.png" alt="image-20210723103937052" style="zoom:50%;" />
 <p>节点【use_create】的定义如下:</p>
 <p><img src="/img/globalParam/image-20210723104411489.png" alt="image-20210723104411489"></p>
-<p>&quot;status&quot; 是当前节点设置的节点的自有变量。但是用户在保存时也同样设置了 &quot;status&quot; 变量,并且赋值为 -1。那在该 SQL 执行时,status 的值为优先级更高的 -1。抛弃了节点的自有变量的值。</p>
+<p>&quot;status&quot; 是当前节点设置的节点的自有变量。但是用户在保存工作流时也同样设置了 &quot;status&quot; 变量(全局参数),并且赋值为 -1。那在该 SQL 执行时,status 的值为优先级更高的 2。抛弃了全局变量中的值。</p>
 <p>这里的 &quot;id&quot; 是上游节点设置的变量,用户在节点【createParam1】、节点【createParam2】中设置了相同参数名 &quot;id&quot; 的参数。而节点【use_create】中使用了最先结束的【createParam1】的值。</p>
 </div></section><footer class="footer-container"><div class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div class="contact-container"><ul><li><a href="/zh-cn/community/development/subscribe.html"><img class="img-base" src="/img/emailgray.png"/><img class="img-change" src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a href="https://twitter.com/dolphinschedule"><img class="img-base" src="/img/twittergray.png"/><img class="img-change" src="/img/twitterblue.png"/><p [...]
   <script src="//cdn.jsdelivr.net/npm/react@15.6.2/dist/react-with-addons.min.js"></script>
diff --git a/zh-cn/docs/dev/user_doc/guide/parameter/priority.json b/zh-cn/docs/dev/user_doc/guide/parameter/priority.json
index 37db34c..a2c9b5d 100644
--- a/zh-cn/docs/dev/user_doc/guide/parameter/priority.json
+++ b/zh-cn/docs/dev/user_doc/guide/parameter/priority.json
@@ -1,6 +1,6 @@
 {
   "filename": "priority.md",
-  "__html": "<h1>参数优先级</h1>\n<p>DolphinScheduler 中所涉及的参数值的定义可能来自三种类型:</p>\n<ul>\n<li><a href=\"global.md\">全局参数</a>:在工作流保存页面定义时定义的变量</li>\n<li><a href=\"context.md\">上游任务传递的参数</a>:上游任务传递过来的参数</li>\n<li><a href=\"local.md\">本地参数</a>:节点的自有变量,用户在“自定义参数”定义的变量,并且用户可以在工作流定义时定义该部分变量的值</li>\n</ul>\n<p>因为参数的值存在多个来源,当参数名相同时,就需要会存在参数优先级的问题。DolphinScheduler 参数的优先级从高到低为:<code>全局参数 &gt; 上游任务传递的参数 &gt; 本地参数</code></p>\n<p>在上游任务传递的参数的情况下,由于上游可能存在多个任务向下游传递参数。当上游传递的参数名称相同时:</p>\n<ul>\n<li>下游节点会优先使用值为非空的参数 [...]
+  "__html": "<h1>参数优先级</h1>\n<p>DolphinScheduler 中所涉及的参数值的定义可能来自三种类型:</p>\n<ul>\n<li><a href=\"global.md\">全局参数</a>:在工作流保存页面定义时定义的变量</li>\n<li><a href=\"context.md\">上游任务传递的参数</a>:上游任务传递过来的参数</li>\n<li><a href=\"local.md\">本地参数</a>:节点的自有变量,用户在“自定义参数”定义的变量,并且用户可以在工作流定义时定义该部分变量的值</li>\n</ul>\n<p>因为参数的值存在多个来源,当参数名相同时,就需要会存在参数优先级的问题。DolphinScheduler 参数的优先级从高到低为:<code>本地参数 &gt; 上游任务传递的参数 &gt; 全局参数</code></p>\n<p>在上游任务传递的参数中,由于上游可能存在多个任务向下游传递参数,当上游传递的参数名称相同时:</p>\n<ul>\n<li>下游节点会优先使用值为非空的参数</l [...]
   "link": "/dist/zh-cn/docs/dev/user_doc/guide/parameter/priority.html",
   "meta": {}
 }
\ No newline at end of file