[ https://issues.apache.org/jira/browse/HUDI-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danny Chen closed HUDI-7530. ---------------------------- Resolution: Fixed Fixed via master branch: a8e9db446c362a364a49749fab795be31fc33afb > 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 > Labels: pull-request-available > Fix For: 1.0.0 > > > 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)