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] [Assigned] (FLINK-28624) CsvReaderFormat should accept CsvMapper factory

     [ https://issues.apache.org/jira/browse/FLINK-28624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler reassigned FLINK-28624:
----------------------------------------

    Assignee: Chesnay Schepler

> 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
>            Assignee: Chesnay Schepler
>            Priority: Major
>             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)