[
https://issues.apache.org/jira/browse/HUDI-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vova Kolmakov updated HUDI-7530:
--------------------------------
Status: In Progress (was: Open)
> Refactoring of handleUpdateInternal in CommitActionExecutors and HoodieTables
> -----------------------------------------------------------------------------
>
> Key: HUDI-7530
> URL: https://issues.apache.org/jira/browse/HUDI-7530
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Vova Kolmakov
> Assignee: Vova Kolmakov
> Priority: Minor
>
> I see a lot of code duplication in handleUpdateInternal() method of
> XXXCommitActionExecutor and HoodieXXXTable. Small refactoring/cleaning
> proposal:
> # rename HoodieWriteHandle.writeStatuses() to getWriteStatuses(), as it
> doesn't write, but gets
> # remove code duplications by extracting one part of common code from
> handleUpdateInternal() methods to
> HoodieMergeHandle.getWriteStatusesAsIterator()
> # remove code duplications by extracting another part of common code from
> handleUpdateInternal() methods to HoodieTable.runMerge()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)