[
https://issues.apache.org/jira/browse/FLINK-23073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-23073:
-----------------------------------
Labels: pull-request-available (was: )
> 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)