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

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

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

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