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

[jira] [Created] (FLINK-11223) Time zone problem of row time field

sunjincheng created FLINK-11223:
-----------------------------------

             Summary: Time zone problem of row time field 
                 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


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)