[ 
https://issues.apache.org/jira/browse/FLINK-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther closed FLINK-4605.
-------------------------------
    Resolution: Fixed

The Blink planner contains a `TYPE_OF` function.

> 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 SQL / API
>            Reporter: Timo Walther
>            Priority: Minor
>              Labels: auto-deprioritized-major
>
> 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
(v8.3.4#803005)

Reply via email to