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 2016/09/23 07:45:20 UTC

[jira] [Commented] (FLINK-4605) Add an expression that returns the return type of an expression

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

Jark Wu commented on FLINK-4605:
--------------------------------

Hi [~twalthr], could you explain this issue a little more detail ? What is the {{myLong.getType}} return type, a String or Expression ? 

> Add an expression that returns the return type of an expression
> ---------------------------------------------------------------
>
>                 Key: FLINK-4605
>                 URL: https://issues.apache.org/jira/browse/FLINK-4605
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>            Reporter: Timo Walther
>
> Esp. for Java users of the Table API it is hard to obtain the return type of an expression. I propose to implement an expression that returns the type of an input expression as a string.
> {{myLong.getType()}} could call the toString method of TypeInformation.
> This could also be useful to distinguish between different subtypes of POJOs etc.



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