You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2018/12/27 03:51:00 UTC

[jira] [Updated] (FLINK-11223) Time zone problem in flink

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

sunjincheng updated FLINK-11223:
--------------------------------
    Summary: Time zone problem in flink  (was: Time zone problem of row time field )

> Time zone problem in flink
> --------------------------
>
>                 Key: FLINK-11223
>                 URL: https://issues.apache.org/jira/browse/FLINK-11223
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API &amp; SQL
>    Affects Versions: 1.7.2, 1.8.0
>            Reporter: sunjincheng
>            Priority: Major
>
> SQL:
> {code:java}
> Data.+=(("001", "flink", new Timestamp(1545803501000L)))
> tab...toTable(tEnv, 'a, 'b, 'rowtime2, 'rowtime.rowtime)
> val sqlQuery = "SELECT rowtime2, rowtime FROM tab"{code}
> Result:
> {code:java}
> 2018-12-26 13:51:41.0, 2018-12-26 05:51:41.0
> {code}
> My local time zone is UTC/GMT+08. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)