Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24403 Improve behaviour of CAST
  3. FLINK-24446

Casting from STRING to TIMESTAMP_LTZ looses fractional seconds

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • None
    • STRING to TIMESTAMP(_LTZ) casting now considers fractional seconds. Before fractional seconds of any precision were ignored.

    Description

      Currently the method toTimestamp(str, tz) from SqlDateTimeUtils doesn't accept more then 23 chars in the input and it also return a long which is the millis since epoch so the rest of the fractional secs are ignored.

      Attachments

        Activity

          People

            slinkydeveloper Francesco Guardiani
            matriv Marios Trivyzas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: