You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/07/26 09:50:00 UTC

[jira] [Resolved] (FLINK-13393) Blink-planner not support generic TableSource

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

Jark Wu resolved FLINK-13393.
-----------------------------
    Resolution: Fixed

Fixed in 1.10.0: b16763f8faf6b3da7db3a00e301cabd130252b84
Fixed in 1.9.0: 9ad8231a201bfda42811b1ea0e67b65a3687a435

> Blink-planner not support generic TableSource
> ---------------------------------------------
>
>                 Key: FLINK-13393
>                 URL: https://issues.apache.org/jira/browse/FLINK-13393
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0, 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Now there is a exception when user use table source like:
> {code:java}
> class MyTableSource[T] extend StreamTableSource[T]
> {code}
> The reason is that blink-planner use TypeExtractor to extract class from TableSource, and use this class to DataFormatConverter.
> Now, table source has DataType return type, so we don't need extract class from TableSource, we can just use conversionClass of DataType.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)