You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/08/04 09:05:00 UTC
[jira] [Created] (FLINK-28808) CsvFileFormatFactory#createEncodingFormat should create ConverterContext on server-side
Chesnay Schepler created FLINK-28808:
----------------------------------------
Summary: CsvFileFormatFactory#createEncodingFormat should create ConverterContext on server-side
Key: FLINK-28808
URL: https://issues.apache.org/jira/browse/FLINK-28808
Project: Flink
Issue Type: Technical Debt
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.16.0
Since we shouldn't assume that jackson mappers are serializable (due to non-serializable extension) the RowDataToCsvFormatConverterContext also shouldn't be serializable.
With that in mind the CsvFileFormatFactory should create the context when the writer is created, not beforehand.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)