You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2021/01/12 10:35:00 UTC

[jira] [Created] (FLINK-20940) The LOCALTIME/LOCALTIMSTAMP functions should use session time zone

Leonard Xu created FLINK-20940:
----------------------------------

             Summary: The LOCALTIME/LOCALTIMSTAMP functions should use session time zone 
                 Key: FLINK-20940
                 URL: https://issues.apache.org/jira/browse/FLINK-20940
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Runtime
    Affects Versions: 1.12.0, 1.13.0
            Reporter: Leonard Xu


|LOCALTIME|LOCALTIME 
 TIME(0) NOT NULL
 
 #session timezone: UTC 
 08:52:52
 
 #session timezone: UTC+8 
 08:52:52
 
wall clock:
 UTC+8:2020-12-29 08:52:52|
|LOCALTIMESTAMP|LOCALTIMESTAMP
 TIMESTAMP(0) NOT NULL
 
 #session timezone: UTC 
 2020-12-29T08:52:52
 
 #session timezone: UTC + 8 
 LOCALTIMESTAMP
 TIMESTAMP(0) NOT NULL
 2020-12-29T08:52:52
 
wall clock:
 UTC+8:2020-12-29 08:52:52|



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