You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (Jira)" <ji...@apache.org> on 2020/01/06 03:07:00 UTC

[jira] [Assigned] (FLINK-15481) The type hint of `TableEnvironment#from_elements` in `table_environment.py` is incomplete

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

Hequn Cheng reassigned FLINK-15481:
-----------------------------------

    Assignee: Wei Zhong

> The type hint of `TableEnvironment#from_elements` in `table_environment.py` is incomplete
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-15481
>                 URL: https://issues.apache.org/jira/browse/FLINK-15481
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.10.0
>            Reporter: Wei Zhong
>            Assignee: Wei Zhong
>            Priority: Trivial
>             Fix For: 1.10.0
>
>
> The type hint of `TableEnvironment#from_elements` in `table_environment.py` is incomplete:
> {code:java}
>         :param elements: The elements to create a table from.
>         :type elements: list
>         :param schema: The schema of the table.
>         :type schema: pyflink.table.types.DataType
>         :param verify_schema: Whether to verify the elements against the schema.
>         :type verify_schema: bool
>         :return: The result table.
>         :rtype: pyflink.table.Table
> {code}
> According to current usage the `:type schema:` could also be list[str].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)