Skip to content

Commit

Permalink
[hotfix][python][docs] Clarify python.files option (apache#15779)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0t07 authored and TheodoreLx committed Apr 28, 2021
1 parent eacc0d0 commit 87d47f6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/content.zh/docs/dev/table/sqlClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
(version >= 37.0.0). Please ensure
that the specified environment meets
the above requirements.
-pyfs,--pyFiles <pythonFiles> Attach custom python files for job.
The standard python resource file
suffixes such as .py/.egg/.zip or
-pyfs,--pyFiles <pythonFiles> Attach custom files for job.
The standard resource file suffixes
such as .py/.egg/.zip/.whl or
directory are all supported. These
files will be added to the PYTHONPATH
of both the local client and the
Expand Down
6 changes: 3 additions & 3 deletions docs/content/docs/dev/table/sqlClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
(version >= 37.0.0). Please ensure
that the specified environment meets
the above requirements.
-pyfs,--pyFiles <pythonFiles> Attach custom python files for job.
The standard python resource file
suffixes such as .py/.egg/.zip or
-pyfs,--pyFiles <pythonFiles> Attach custom files for job.
The standard resource file suffixes
such as .py/.egg/.zip/.whl or
directory are all supported. These
files will be added to the PYTHONPATH
of both the local client and the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public class CliFrontendParser {
"pyfs",
"pyFiles",
true,
"Attach custom python files for job. The standard python resource file suffixes such as .py/.egg/.zip or directory are all supported. "
"Attach custom files for job. The standard resource file suffixes such as .py/.egg/.zip/.whl or directory are all supported. "
+ "These files will be added to the PYTHONPATH of both the local client and the remote python UDF worker. "
+ "Files suffixed with .zip will be extracted and added to PYTHONPATH. "
+ "Comma (',') could be used as the separator to specify multiple files "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class PythonOptions {
.stringType()
.noDefaultValue()
.withDescription(
"Attach custom python files for job. The standard python resource file suffixes such as .py/.egg/.zip or "
"Attach custom files for job. The standard resource file suffixes such as .py/.egg/.zip/.whl or "
+ "directory are all supported. These files will be added to the PYTHONPATH of both the local "
+ "client and the remote python UDF worker. Files suffixed with .zip will be extracted and added to PYTHONPATH. "
+ "Comma (',') could be used as the separator to specify multiple files. The option is equivalent to the command line option \"-pyfs\". ");
Expand Down

0 comments on commit 87d47f6

Please sign in to comment.