[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).

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[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).

Shang Yuanchun (Jira)
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)