[ 
https://issues.apache.org/jira/browse/FLINK-20692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254558#comment-17254558
 ] 

Ruguo Yu commented on FLINK-20692:
----------------------------------

Hi [~jark], we directly use 
org.apache.flink.formats.csv.*CsvRowDeserializationSchema* deserializes 
message(csv format) from kafka  then converts it to Row, but we need 
setLineDelimiter to split message. However in 
[FLINK-19868|https://issues.apache.org/jira/browse/FLINK-19868] is related to 

org.apache.flink.formats.csv.*CsvRowDataSerializationSchema*.

Corresponding org.apache.flink.formats.csv.*CsvRowSerializationSchema* can set 
setFieldDelimiter in CsvSchema when we write message to sink(such as kafka).

So Is this feasible to *CsvRowDeserializationSchema* setLineDelimiter in 
CsvSchema also.

 

> Allow set line delimiter using CsvRowDeserializationSchema
> ----------------------------------------------------------
>
>                 Key: FLINK-20692
>                 URL: https://issues.apache.org/jira/browse/FLINK-20692
>             Project: Flink
>          Issue Type: Improvement
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table 
> SQL / Ecosystem
>    Affects Versions: 1.12.0
>            Reporter: Ruguo Yu
>            Priority: Major
>
> CsvRowDeserializationSchema can not set line delimiter when deserializing CSV 
> bytes to Flink types.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to