[
https://issues.apache.org/jira/browse/FLINK-14356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948183#comment-16948183
]
Jark Wu commented on FLINK-14356:
---------------------------------
Thanks [~hackergin], I think this is a reasonable requirement. Currently,
csv/json format is not good at handling single value format.
How about introducing a new format called "single-field"? And dedicated
{{SingleFieldSerializationSchema}} {{SingleFieldDeserializationSchema}} which
support to (de)serialize a row with a single field in varbinary/string or other
types.
cc [~twalthr]
> Support some special RowDeserializationSchema and RowSerializationSchema
> -------------------------------------------------------------------------
>
> Key: FLINK-14356
> URL: https://issues.apache.org/jira/browse/FLINK-14356
> Project: Flink
> Issue Type: Improvement
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Table
> SQL / API
> Reporter: jinfeng
> Priority: Major
>
> I want to use flink sql to write kafka messages directly to hdfs. The
> serialization and deserialization of messages are not involved in the middle.
> The bytes of the message directly convert the first field of Row. However,
> the current RowSerializationSchema does not support the conversion of bytes
> to VARBINARY. Can we add some special RowSerializationSchema and
> RowDerializationSchema ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)