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

Flink Jira Bot updated FLINK-7128:
----------------------------------
    Labels: stale-minor  (was: )

> Timestamp types in Table API documenation not correct
> -----------------------------------------------------
>
>                 Key: FLINK-7128
>                 URL: https://issues.apache.org/jira/browse/FLINK-7128
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation, Table SQL / API
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Fabian Hueske
>            Priority: Minor
>              Labels: stale-minor
>
> The documentation for the Table API shows the type of a timestamp as 
> {{TIMESTAMP}} but it should be {{SQL_TIMESTAMP}}.
> The following projection fails
> {code}
> .select("myLong.cast(TIMESTAMP)")
> {code} 
> with the error message {{"Undefined function: CAST"}} which is confusing 
> because other {{cast}} calls in the same query work correctly. The error 
> message should rather tell the user that the type {{TIMESTAMP}} is unknown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to