You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2022/05/27 09:30:00 UTC
[jira] [Created] (FLINK-27814) Add an abstraction layer for connectors to read and write row data instead of key-values
Caizhi Weng created FLINK-27814:
-----------------------------------
Summary: Add an abstraction layer for connectors to read and write row data instead of key-values
Key: FLINK-27814
URL: https://issues.apache.org/jira/browse/FLINK-27814
Project: Flink
Issue Type: Improvement
Components: Table Store
Affects Versions: table-store-0.2.0
Reporter: Caizhi Weng
Currently {{FileStore}} exposes an interface for reading and writing {{KeyValue}}. However connectors may have different ways to change a {{RowData}} to {{KeyValue}} under different {{WriteMode}}. This results in lots of {{if...else...}} branches and duplicated code.
We need to add an abstraction layer for connectors to read and write row data instead of key-values.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)