You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2021/04/29 03:56:46 UTC

[flink] branch master updated: [hotfix][python][docs] Fix python.archives docs

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

dianfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new d5ce949  [hotfix][python][docs] Fix python.archives docs
d5ce949 is described below

commit d5ce94923579c3ac0763da99db780a8dc86da30b
Author: Yik San Chan <ev...@gmail.com>
AuthorDate: Tue Apr 27 17:34:03 2021 +0800

    [hotfix][python][docs] Fix python.archives docs
    
    This closes #15783.
---
 docs/content.zh/docs/dev/table/sqlClient.md                             | 2 +-
 docs/content/docs/dev/table/sqlClient.md                                | 2 +-
 docs/layouts/shortcodes/generated/python_configuration.html             | 2 +-
 .../src/main/java/org/apache/flink/client/cli/CliFrontendParser.java    | 2 +-
 flink-python/src/main/java/org/apache/flink/python/PythonOptions.java   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/content.zh/docs/dev/table/sqlClient.md b/docs/content.zh/docs/dev/table/sqlClient.md
index e56215f..337339e 100644
--- a/docs/content.zh/docs/dev/table/sqlClient.md
+++ b/docs/content.zh/docs/dev/table/sqlClient.md
@@ -215,7 +215,7 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
                                                target directory be specified. If the
                                                target directory name is specified,
                                                the archive file will be extracted to
-                                               a name can directory with the
+                                               a directory with the
                                                specified name. Otherwise, the
                                                archive file will be extracted to a
                                                directory with the same name of the
diff --git a/docs/content/docs/dev/table/sqlClient.md b/docs/content/docs/dev/table/sqlClient.md
index 279f667..13abece 100644
--- a/docs/content/docs/dev/table/sqlClient.md
+++ b/docs/content/docs/dev/table/sqlClient.md
@@ -221,7 +221,7 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
                                                target directory be specified. If the
                                                target directory name is specified,
                                                the archive file will be extracted to
-                                               a name can directory with the
+                                               a directory with the
                                                specified name. Otherwise, the
                                                archive file will be extracted to a
                                                directory with the same name of the
diff --git a/docs/layouts/shortcodes/generated/python_configuration.html b/docs/layouts/shortcodes/generated/python_configuration.html
index 3900970..1f88dbb 100644
--- a/docs/layouts/shortcodes/generated/python_configuration.html
+++ b/docs/layouts/shortcodes/generated/python_configuration.html
@@ -12,7 +12,7 @@
             <td><h5>python.archives</h5></td>
             <td style="word-wrap: break-word;">(none)</td>
             <td>String</td>
-            <td>Add python archive files for job. The archive files will be extracted to the working directory of python UDF worker. Currently only zip-format is supported. For each archive file, a target directory is specified. If the target directory name is specified, the archive file will be extracted to a name can directory with the specified name. Otherwise, the archive file will be extracted to a directory with the same name of the archive file. The files uploaded via this option  [...]
+            <td>Add python archive files for job. The archive files will be extracted to the working directory of python UDF worker. Currently only zip-format is supported. For each archive file, a target directory is specified. If the target directory name is specified, the archive file will be extracted to a directory with the specified name. Otherwise, the archive file will be extracted to a directory with the same name of the archive file. The files uploaded via this option are acces [...]
         </tr>
         <tr>
             <td><h5>python.client.executable</h5></td>
diff --git a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
index f86fa16..dbc51e8 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
@@ -224,7 +224,7 @@ public class CliFrontendParser {
                     "Add python archive files for job. The archive files will be extracted to the working directory "
                             + "of python UDF worker. Currently only zip-format is supported. For each archive file, a target directory "
                             + "be specified. If the target directory name is specified, the archive file will be extracted to a "
-                            + "name can directory with the specified name. Otherwise, the archive file will be extracted to a "
+                            + "directory with the specified name. Otherwise, the archive file will be extracted to a "
                             + "directory with the same name of the archive file. The files uploaded via this option are accessible "
                             + "via relative path. '#' could be used as the separator of the archive file path and the target directory "
                             + "name. Comma (',') could be used as the separator to specify multiple archive files. "
diff --git a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
index 038191f..ec51f6e 100644
--- a/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
+++ b/flink-python/src/main/java/org/apache/flink/python/PythonOptions.java
@@ -95,7 +95,7 @@ public class PythonOptions {
                             "Add python archive files for job. The archive files will be extracted "
                                     + "to the working directory of python UDF worker. Currently only zip-format is "
                                     + "supported. For each archive file, a target directory is specified. If the target "
-                                    + "directory name is specified, the archive file will be extracted to a name can "
+                                    + "directory name is specified, the archive file will be extracted to a "
                                     + "directory with the specified name. Otherwise, the archive file will be extracted to "
                                     + "a directory with the same name of the archive file. The files uploaded via this "
                                     + "option are accessible via relative path. '#' could be used as the separator of the "