You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/01/06 03:30:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated FLINK-15481:
-----------------------------------
Labels: pull-request-available (was: )
> 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
>
>
> 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)