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

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

     [ https://issues.apache.org/jira/browse/FLINK-20940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu updated FLINK-20940:
----------------------------
    Fix Version/s: 1.13.0

> 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
>            Assignee: Leonard Xu
>            Priority: Major
>             Fix For: 1.13.0
>
>
> |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)