dianfu commented on a change in pull request #8472: [FLINK-12327][python] Adds
support to submit Python Table API job in CliFrontend
URL: https://github.com/apache/flink/pull/8472#discussion_r284985847
##########
File path:
flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
##########
@@ -118,6 +118,20 @@
public static final Option STOP_AND_DRAIN = new Option("d", "drain",
false,
"Send MAX_WATERMARK before taking the savepoint and
stopping the pipelne.");
+ static final Option PY_OPTION = new Option("py", "python", true,
+ "Python script with the program entry point. " +
+ "We can configure dependent resources with the
`--py-files` option.");
+
+ static final Option PYFILES_OPTION = new Option("pyfs", "py-files",
true,
+ "Attach custom python files for job. " +
+ "Comma can be used as the separator to specify multiple
files. " +
+ "The standard python resource file suffixes such as
.py/.egg/.zip all also supported." +
+ "(eg: --py-files
file:///tmp/myproject.zip,hdfs:///$namenode_address/venv.zip)");
+
+ static final Option PYMODULE_OPTION = new Option("pym", "py-module",
true,
Review comment:
What about changing `py-module` to `pyModule`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services