[
https://issues.apache.org/jira/browse/FLINK-11223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonard Xu closed FLINK-11223.
------------------------------
Resolution: Fixed
> Time zone problem for time processing function
> ----------------------------------------------
>
> Key: FLINK-11223
> URL: https://issues.apache.org/jira/browse/FLINK-11223
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.7.2, 1.8.0
> Reporter: sunjincheng
> Priority: Major
> Labels: auto-unassigned
>
> 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
(v8.3.4#803005)