flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4605) Add an expression that returns the return type of an expression
Date Fri, 09 Sep 2016 15:06:20 GMT
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)

Mime
View raw message