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

Yijie Shen commented on FLINK-3891:
-----------------------------------

I think it will be great to implement this, looking forward the PR :)

> Add a class containing all supported Table API types
> ----------------------------------------------------
>
>                 Key: FLINK-3891
>                 URL: https://issues.apache.org/jira/browse/FLINK-3891
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Minor
>
> In order to make working with the Table API easier. It would be great to have 
> a class that contains the supported types.
> Such that an expression could look like:
> {code}
> .select(42.cast(TableType.INT), 43.cast(TableType.DECIMAL))
> {code}
> The constants would map to the original TypeInformation object (in 
> BasicTypeInfo, SqlTimeTypeInfo, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to