lw309637554 commented on a change in pull request #2784:
URL: https://github.com/apache/hudi/pull/2784#discussion_r615499171



##########
File path: 
hudi-common/src/test/java/org/apache/hudi/common/testutils/HoodieTestTable.java
##########
@@ -177,10 +161,14 @@ public HoodieTestTable addDeltaCommit(String instantTime) 
throws Exception {
     return this;
   }
 
-  public HoodieTestTable addReplaceCommit(String instantTime, 
HoodieRequestedReplaceMetadata requestedReplaceMetadata, 
HoodieReplaceCommitMetadata metadata) throws Exception {
+  public HoodieTestTable addReplaceCommit(
+      String instantTime,
+      HoodieRequestedReplaceMetadata requestedReplaceMetadata,
+      HoodieReplaceCommitMetadata completeReplaceMetadata,
+      HoodieCommitMetadata inflightReplaceMetadata) throws Exception {

Review comment:
       can we set HoodieCommitMetadata to Option< HoodieCommitMetadata >  to 
avoid null 




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to