[ https://issues.apache.org/jira/browse/FLINK-23073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368263#comment-17368263 ]
Seth Wiesman commented on FLINK-23073: -------------------------------------- fixed in master: 41ce9ccbf42537a854087b6ba33a61092a04538f fixed in release-1.13: 61f1f0f4f09875b5d8f4c2db956aa520facc4b2c > Fix space handling in Row CSV timestamp parser > ---------------------------------------------- > > Key: FLINK-23073 > URL: https://issues.apache.org/jira/browse/FLINK-23073 > Project: Flink > Issue Type: Bug > Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > Affects Versions: 1.14.0, 1.13.2 > Reporter: Seth Wiesman > Assignee: Seth Wiesman > Priority: Major > Labels: pull-request-available > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)