You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/07/21 10:01:00 UTC
[jira] [Created] (FLINK-28624) CsvReaderFormat should accept CsvMapper factory
Chesnay Schepler created FLINK-28624:
----------------------------------------
Summary: CsvReaderFormat should accept CsvMapper factory
Key: FLINK-28624
URL: https://issues.apache.org/jira/browse/FLINK-28624
Project: Flink
Issue Type: Improvement
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
Reporter: Chesnay Schepler
Fix For: 1.16.0, 1.15.2
The CsvReaderFormat allows the user to pass a {{CsvMapper}} via the factory methods.
This is a flawed approach because we generally cannot assume that the mapper is actually serializable.
For example adding the JavaTimeModule breaks serialization because it internally uses theĀ DateTimeFormatter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)