You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Thomas Weise (Jira)" <ji...@apache.org> on 2021/09/13 19:28:00 UTC

[jira] [Commented] (FLINK-24252) HybridSource should return TypeInformation

    [ https://issues.apache.org/jira/browse/FLINK-24252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414536#comment-17414536 ] 

Thomas Weise commented on FLINK-24252:
--------------------------------------

Thanks for capturing this. Since sources are not always known at graph construction time, there could be scenarios where the user will still have to add the type information. But as long as at least one source is constructed eagerly (and therefore visible to the builder code), we could infer the type.

> HybridSource should return TypeInformation
> ------------------------------------------
>
>                 Key: FLINK-24252
>                 URL: https://issues.apache.org/jira/browse/FLINK-24252
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Arvid Heise
>            Assignee: Arvid Heise
>            Priority: Major
>
> BecauseĀ {{HybridSource}} will never bind the actual type, it would be a good additional to implement {{ResultTypeQueryable}} to improve the usability. The type should be fetched or inferred from the wrapped sources.



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