Unverified Commit deeeda85 authored by ZackYoung's avatar ZackYoung Committed by GitHub

[BugFix] [PyFlink] Fix flink1.18 python options (#3324)

parent eed15b2c
...@@ -110,6 +110,17 @@ public class PythonOptions { ...@@ -110,6 +110,17 @@ public class PythonOptions {
+ "optional parameter exists. The option is equivalent to the command line option " + "optional parameter exists. The option is equivalent to the command line option "
+ "\"-pyreq\"."); + "\"-pyreq\".");
/** The configuration allows user to define python path for client and workers. */
public static final ConfigOption<String> PYTHON_PATH = ConfigOptions.key("python.pythonpath")
.stringType()
.noDefaultValue()
.withDescription(Description.builder()
.text(
"Specify the path on the Worker Node where the Flink Python Dependencies are installed, which "
+ "gets added into the PYTHONPATH of the Python Worker."
+ " The option is equivalent to the command line option \"-pypath\".")
.build());
public static final ConfigOption<String> PYTHON_ARCHIVES = ConfigOptions.key("python.archives") public static final ConfigOption<String> PYTHON_ARCHIVES = ConfigOptions.key("python.archives")
.stringType() .stringType()
.noDefaultValue() .noDefaultValue()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment