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

Ingo Bürk commented on FLINK-25274:
-----------------------------------

It'd actually be even better if the runtime source only had access to the 
physical data type, it doesn't need the schema at all. We also recently 
introduced several utility methods to make working with this easier, see 
DynamicTableFactory#Context#getPhysicalRowDataType to pass it to the source and 
then DataType#getFieldNames, DataType#getFieldCount, 
DataType#getFieldDataTypes, …

> Use ResolvedSchema in DataGen instead of TableSchema
> ----------------------------------------------------
>
>                 Key: FLINK-25274
>                 URL: https://issues.apache.org/jira/browse/FLINK-25274
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>            Reporter: Sergey Nuyanzin
>            Priority: Minor
>              Labels: pull-request-available
>
> {{TableSchema}} is deprecated 
> It is recommended to use {{ResolvedSchema}} and {{Schema}} in {{TableSchema}} 
> javadoc



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to