You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yijie Shen (JIRA)" <ji...@apache.org> on 2016/05/11 03:28:12 UTC

[jira] [Commented] (FLINK-3891) Add a class containing all supported Table API types

    [ 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)