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

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

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

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