zhongjiajie commented on code in PR #9840:
URL: https://github.com/apache/dolphinscheduler/pull/9840#discussion_r867598431


##########
docs/docs/en/guide/task/flink.md:
##########
@@ -2,7 +2,11 @@
 
 ## Overview
 
-Flink task type for executing Flink programs. For Flink nodes, the worker 
submits the task by using the Flink command `flink run`. See [flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)
 for more details.
+Flink task type, used to execute Flink programs. For Flink nodes:
+
+(1) When the program type is Java, Scala or Python, the worker submits the 
task `flink run` using the Flink command. See [flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)
 for more details.
+
+(2) When the program type is SQL, the worker submit tasks using 
`sql-client.sh`. See [flink sql 
client](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/)
 for more details.

Review Comment:
   ```suggestion
   1. When the program type is Java, Scala or Python, the worker submits the 
task `flink run` using the Flink command. See [flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)
 for more details.
   
   2. When the program type is SQL, the worker submit tasks using 
`sql-client.sh`. See [flink sql 
client](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/)
 for more details.
   ```



##########
docs/docs/zh/guide/task/flink.md:
##########
@@ -2,7 +2,11 @@
 
 ## 综述
 
-Flink 任务类型,用于执行 Flink 程序。对于 Flink 节点,worker 会通过使用 flink 命令 `flink run` 
的方式提交任务。更多详情查看 [flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)。
+Flink 任务类型,用于执行 Flink 程序。对于 Flink 节点:
+
+(1) 当程序类型为 Java、Scala 或 Python 时,worker 使用 Flink 命令提交任务 `flink run`。更多详情查看 
[flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)
 。
+
+(2) 当程序类型为 SQL 时,worker 使用`sql-client.sh` 提交任务。更多详情查看 [flink sql 
client](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/)
 。

Review Comment:
   ```suggestion
   1. 当程序类型为 Java、Scala 或 Python 时,worker 使用 Flink 命令提交任务 `flink run`。更多详情查看 
[flink 
cli](https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/)
 。
   
   2. 当程序类型为 SQL 时,worker 使用`sql-client.sh` 提交任务。更多详情查看 [flink sql 
client](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/)
 。
   ```



-- 
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: [email protected]

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

Reply via email to