diff --git a/docs/content.zh/docs/dev/table/sqlClient.md b/docs/content.zh/docs/dev/table/sqlClient.md index e56215f248674..337339e24a6bc 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 279f6679c344f..13abecef37c47 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 39009709084a3..1f88dbb8c31e9 100644 --- a/docs/layouts/shortcodes/generated/python_configuration.html +++ b/docs/layouts/shortcodes/generated/python_configuration.html @@ -12,7 +12,7 @@
python.archives
(none) String - 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 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. This option can be used to upload the virtual environment, the data files used in Python UDF. The data files could be accessed in Python UDF, e.g.: f = open('data/data.txt', 'r'). The option is equivalent to the command line option "-pyarch". + 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 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. This option can be used to upload the virtual environment, the data files used in Python UDF. The data files could be accessed in Python UDF, e.g.: f = open('data/data.txt', 'r'). The option is equivalent to the command line option "-pyarch".
python.client.executable
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 f86fa16de9afd..dbc51e82d7c1c 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 038191f84f4f7..ec51f6e7613f2 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 "