You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2016/09/09 15:06:20 UTC
[jira] [Created] (FLINK-4605) Add an expression that returns the
return type of an expression
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)