Vova Kolmakov created HUDI-7530:
-----------------------------------

             Summary: 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


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)

Reply via email to