davidradl commented on code in PR #25784:
URL: https://github.com/apache/flink/pull/25784#discussion_r1882182035


##########
docs/content/docs/dev/table/sqlClient.md:
##########
@@ -601,6 +601,24 @@ This configuration:
 
 <span class="label label-danger">Attention</span> Compared to the interactive 
mode, SQL Client will stop execution and exits when there are errors.
 
+### Deploy SQL Files in an Application Cluster
+
+SQL Client also supports to deploy a SQL script file to an application cluster 
with the `-f` option if you specify the deployment target in the config.yaml or 
startup options.
+Here is an example to deploy script file in an application cluster.
+
+```bash 
+./bin/sql-client.sh -f oss://path/to/script.sql \
+      -Dexecution.target=kubernetes-application \
+      -Dkubernetes.cluster-id=${CLUSTER_ID} \
+      -Dkubernetes.container.image.ref=${FLINK_IMAGE_NAME}'
+```
+
+After execution, SQL Client print the cluster id on the terminal. The script 
can contain any statement that is supported by Flink. But Application cluster 
only supports one job, please refer to the 
+[Application Mode]({{< ref "docs/deployment/overview#application-mode" >}}) 
for the limitations.
+
+<span class="label label-danger">Attention</span> When deploying a script to 
the cluster, SQL Client only supports to run with `--jars` startup option, 
other options, e.g. `--init` 

Review Comment:
   not:
   to run -> running



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