You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/11/05 15:04:00 UTC

[jira] [Resolved] (FLINK-19804) Make FileSource class generic with respect to split types

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

Stephan Ewen resolved FLINK-19804.
----------------------------------
    Resolution: Fixed

Fixed in 1.12.0 (master) via cb406d6a4c605fdccd7a44e80b2199cded4c9193

> Make FileSource class generic with respect to split types
> ---------------------------------------------------------
>
>                 Key: FLINK-19804
>                 URL: https://issues.apache.org/jira/browse/FLINK-19804
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / FileSystem
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Major
>             Fix For: 1.12.0
>
>
> To support sources with different split types, the FileSource class should become generic with respect to split types.
> To not create too complex generic signatures for users, we should add a new class {{AbstractFileSource}} which is generic and has all the shared generic methods.
> The current {{FileSource}} would be changed to extend this class for the specific split type {{FileSourceSplit}}, and thus behave exactly like it currently does.



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