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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)