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

Flink SQL timestamp is inconsistent with currentProcessingTime()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.6.2, 1.7.0, 1.7.1, 1.8.0
    • None
    • Table SQL / API

    Description

      Flink SQL timestamp is inconsistent with currentProcessingTime().

       
      the ProcessingTime is just implemented by invoking System.currentTimeMillis() but the long value will be automatically wrapped to a Timestamp with the following statement:

      `new java.sql.Timestamp(time - TimeZone.getDefault().getOffset(time));`

      Attachments

        Issue Links

          Activity

            People

              lamber-ken lamber-ken
              lamber-ken lamber-ken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m