Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9.0
Description
Add simplicity support for submitting Python Table API job in CliFrontend, i.e. `flink run -py wordcount.py` can be work(with simple test).
Support for submitting Python Table API job in CliFrontend,And using `flink run` submit Python Table API job. The current `flink` command command line syntax is as follows:
flink <ACTION> [OPTIONS] [ARGUMENTS]
On the basis of the current `run` ACTION, we add to Python Table API support, specific OPTIONS are as follows:
-py --python <python-file-name>
Python script with the program entry point. We can configure dependent resources with the `--py-files` option.
- -pyfs --py-files <python-files>
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.
- -pym --py-module <python-module> Python module with the program entry point. This option must be used in conjunction with ` --py-files`.
For more details, please refer to FLIP-38
NOTE: In this JIRA we only need to implement the basic options, without fully implementing the parameters related to UDFs in FLIP-38.
Attachments
Issue Links
- links to