Timo Walther created FLINK-4605:
-----------------------------------

             Summary: 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)

Reply via email to