flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7128) Timestamp types in Table API documenation not correct
Date Fri, 07 Jul 2017 10:13:00 GMT
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)

Mime
View raw message