You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Kyle Zhang (Jira)" <ji...@apache.org> on 2020/09/27 09:02:00 UTC

[jira] [Created] (FLINK-19433) An Error example of FROM_UNIXTIME function in document

Kyle Zhang created FLINK-19433:
----------------------------------

             Summary: An Error example of FROM_UNIXTIME function in document
                 Key: FLINK-19433
                 URL: https://issues.apache.org/jira/browse/FLINK-19433
             Project: Flink
          Issue Type: Bug
          Components: Documentation, Table SQL / API
            Reporter: Kyle Zhang


In the documentation:[https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/table/functions/systemFunctions.html#temporal-functions]

There is an example in FROM_UNIXTIME function
{code:java}
E.g., FROM_UNIXTIME(44) returns '1970-01-01 09:00:44' if in UTC time zone, but returns '1970-01-01 09:00:44' if in 'Asia/Tokyo' time zone.
{code}
However, the correct result should be 1970-01-01 00:00:44 in UTC time zone

 



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