Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11223

Time zone problem for time processing function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2, 1.8.0
    • None
    • Table SQL / API

    Description

      SQL:

      Data.+=(("001", "flink", new Timestamp(1545803501000L)))
      tab...toTable(tEnv, 'a, 'b, 'rowtime2, 'rowtime.rowtime)
      val sqlQuery = "SELECT rowtime2, rowtime FROM tab"

      Result:

      2018-12-26 13:51:41.0, 2018-12-26 05:51:41.0
      

      My local time zone is UTC/GMT+08.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunjincheng121 sunjincheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: