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 12:38:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17008804#comment-17008804 ]
Hequn Cheng commented on FLINK-15481:
-------------------------------------
Fixed in
1.11.0 via 58e18c2a258cd210193d2e496066401cd4dc65b8
1.10.0 via c508e68bf210a3cbdefab83e4c8a59ca8bccb466
> 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
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)