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/05/28 07:37:00 UTC

[jira] [Closed] (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).

     [ https://issues.apache.org/jira/browse/FLINK-12327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sunjincheng closed FLINK-12327.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

Fixed in master: 8510e294802c096418cdc121b21d64de630c201f

> 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
>            Assignee: Huang Xingbo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)