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

Fix space handling in Row CSV timestamp parser

    XMLWordPrintableJSON

Details

    Description

      FLINK-21947 Added support for TIMESTAMP_LTZ in the CSV format by replacing java.sql.Timestamp.valueOf with java.time.LocalDateTime.parse. Timestamp.valueOf internally calls `trim()` on the string before parsing while LocalDateTime.parse does not. This caused a breaking change where the CSV format can no longer parse timestamps of CSV's with spaces after the delimiter. We should manually re-add the call to trim to revert the behavior.

      Attachments

        Issue Links

          Activity

            People

              sjwiesman Seth Wiesman
              sjwiesman Seth Wiesman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: