[
https://issues.apache.org/jira/browse/FLINK-29291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingsong Lee closed FLINK-29291.
--------------------------------
Resolution: Fixed
master: a881f41368ef48148d5cef795822ac51625811b6
> Change DataFileWriter into a factory to create writers
> ------------------------------------------------------
>
> Key: FLINK-29291
> URL: https://issues.apache.org/jira/browse/FLINK-29291
> Project: Flink
> Issue Type: Sub-task
> Components: Table Store
> Reporter: Caizhi Weng
> Assignee: Caizhi Weng
> Priority: Major
> Labels: pull-request-available
> Fix For: table-store-0.3.0
>
>
> Currently {{DataFileWriter}} exposes {{write}} method for data files and
> extra files.
> However, as the number of patterns to write files is increasing (for example,
> we'd like to write some records into a data file, then write some other
> records into an extra files when producing changelogs from full compaction)
> we'll have to keep adding methods to {{DataFileWriter}} if we keep the
> current implementation.
> We'd like to refactor {{DataFileWriter}} into a factory to create writers, so
> that the users of writers can write however they like.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)