You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2019/04/25 01:53:00 UTC
[jira] [Created] (FLINK-12327) Add simplicity support for
submitting Python Table API job in CliFrontend, i.e. `flink run -py
wordcount.py` can be work(with simple test).
sunjincheng created FLINK-12327:
-----------------------------------
Summary: Add simplicity support for submitting Python Table API job in CliFrontend, i.e. `flink run -py wordcount.py` can be work(with simple test).
Key: FLINK-12327
URL: https://issues.apache.org/jira/browse/FLINK-12327
Project: Flink
Issue Type: Sub-task
Components: API / Python
Affects Versions: 1.9.0
Reporter: sunjincheng
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|https://cwiki.apache.org/confluence/display/FLINK/FLIP-38%3A+Python+Table+API]
NOTE: In this JIRA we only need to implement the basic options, without fully implementing the parameters related to UDFs in FLIP-38.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)