You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2017/07/07 10:13:00 UTC
[jira] [Created] (FLINK-7128) Timestamp types in Table API
documenation not correct
Fabian Hueske created FLINK-7128:
------------------------------------
Summary: 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 API & SQL
Affects Versions: 1.3.1, 1.4.0
Reporter: Fabian Hueske
Priority: 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
(v6.4.14#64029)