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/26 10:52:00 UTC

[jira] [Closed] (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 closed FLINK-28624.
------------------------------------
    Fix Version/s:     (was: 1.15.2)
       Resolution: Fixed

master: 1dee35a9966065593aa5dfc618f5fec17fb80890

> 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
>              Labels: pull-request-available
>             Fix For: 1.16.0
>
>
> 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)