File tree Expand file tree Collapse file tree
content.zh/docs/dev/table
flink-clients/src/main/java/org/apache/flink/client/cli
flink-python/src/main/java/org/apache/flink/python Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 "
Original file line number Diff line number Diff 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\" . " );
You can’t perform that action at this time.
0 commit comments