Skip to content

Commit 87d47f6

Browse files
t0t07TheodoreLx
authored andcommitted
[hotfix][python][docs] Clarify python.files option (apache#15779)
1 parent eacc0d0 commit 87d47f6

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/content.zh/docs/dev/table/sqlClient.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
247247
(version >= 37.0.0). Please ensure
248248
that the specified environment meets
249249
the above requirements.
250-
-pyfs,--pyFiles <pythonFiles> Attach custom python files for job.
251-
The standard python resource file
252-
suffixes such as .py/.egg/.zip or
250+
-pyfs,--pyFiles <pythonFiles> Attach custom files for job.
251+
The standard resource file suffixes
252+
such as .py/.egg/.zip/.whl or
253253
directory are all supported. These
254254
files will be added to the PYTHONPATH
255255
of both the local client and the

docs/content/docs/dev/table/sqlClient.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ Mode "embedded" (default) submits Flink jobs from the local machine.
253253
(version >= 37.0.0). Please ensure
254254
that the specified environment meets
255255
the above requirements.
256-
-pyfs,--pyFiles <pythonFiles> Attach custom python files for job.
257-
The standard python resource file
258-
suffixes such as .py/.egg/.zip or
256+
-pyfs,--pyFiles <pythonFiles> Attach custom files for job.
257+
The standard resource file suffixes
258+
such as .py/.egg/.zip/.whl or
259259
directory are all supported. These
260260
files will be added to the PYTHONPATH
261261
of both the local client and the

flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public class CliFrontendParser {
191191
"pyfs",
192192
"pyFiles",
193193
true,
194-
"Attach custom python files for job. The standard python resource file suffixes such as .py/.egg/.zip or directory are all supported. "
194+
"Attach custom files for job. The standard resource file suffixes such as .py/.egg/.zip/.whl or directory are all supported. "
195195
+ "These files will be added to the PYTHONPATH of both the local client and the remote python UDF worker. "
196196
+ "Files suffixed with .zip will be extracted and added to PYTHONPATH. "
197197
+ "Comma (',') could be used as the separator to specify multiple files "

flink-python/src/main/java/org/apache/flink/python/PythonOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class PythonOptions {
7070
.stringType()
7171
.noDefaultValue()
7272
.withDescription(
73-
"Attach custom python files for job. The standard python resource file suffixes such as .py/.egg/.zip or "
73+
"Attach custom files for job. The standard resource file suffixes such as .py/.egg/.zip/.whl or "
7474
+ "directory are all supported. These files will be added to the PYTHONPATH of both the local "
7575
+ "client and the remote python UDF worker. Files suffixed with .zip will be extracted and added to PYTHONPATH. "
7676
+ "Comma (',') could be used as the separator to specify multiple files. The option is equivalent to the command line option \"-pyfs\". ");

0 commit comments

Comments
 (0)