[
https://issues.apache.org/jira/browse/FLINK-7128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321644#comment-17321644
]
Flink Jira Bot commented on FLINK-7128:
---------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> 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)