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

Jingsong Lee commented on FLINK-15677:
--------------------------------------

Hi [~hailong wang], thanks for creating. we will remove 
{{TableSource.getTableSchema}} in future.

About implementation, maybe we need something like 
{{FieldInfoUtils.extractFieldInformation}}.

> TableSource#explainSource should return the field names from 
> getProducedDataType instead of getTableSchema
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-15677
>                 URL: https://issues.apache.org/jira/browse/FLINK-15677
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>    Affects Versions: 1.10.0
>            Reporter: hailong wang
>            Priority: Major
>             Fix For: 1.11.0
>
>
> For the fields push down, the final fieldNames  of tablesource are not 
> consistent with FieldNames from TableSchema. So we should return the field 
> names from getProducedDataType instead of getTableSchema.



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

Reply via email to