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

[Flink SQL] SQL function TO_TIMESTAMP(string1[, string2])'s result incorrect where string2 is default: 'yyyy-MM-dd HH:mm:ss'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.11.2
    • None
    • Table SQL / Runtime
    • None
    • Patch

    Description

      A sql statement [

      select to_timestamp('2017-11-27 00:00:00')

      ] using funcation to_timestamp for parsing string date is executed, the result is 2017-11-27T00:00 when flink version 1.11.2, and yet it's correct where flink version 1.15.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jettd22 Jett Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: