codope commented on code in PR #18988:
URL: https://github.com/apache/hudi/pull/18988#discussion_r3663270141


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -639,7 +626,8 @@ public O postWrite(HoodieWriteMetadata<O> result, String 
instantTime, HoodieTabl
       boolean postCommitStatus = true;
       HoodieTimer postCommitTimer = HoodieTimer.start();
       try {
-        postCommit(hoodieTable, result.getCommitMetadata().get(), instantTime, 
Option.empty());
+        postCommit(hoodieTable, result.getCommitMetadata().get(), instantTime,
+            hoodieTable.getMetaClient().getCommitActionType(), Option.empty());

Review Comment:
   `postWrite` now derives the action via 
`CommitUtils.getCommitActionType(operationType, 
table.getMetaClient().getTableType())`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to