danny0405 commented on code in PR #13229:
URL: https://github.com/apache/hudi/pull/13229#discussion_r2101478876


##########
hudi-cli/src/test/java/org/apache/hudi/cli/commands/TestMetadataCommand.java:
##########
@@ -88,8 +88,9 @@ public void testMetadataDelete() throws Exception {
 
       List<HoodieRecord> records = dataGen.generateInserts(newCommitTime, 
numRecords);
       JavaRDD<HoodieRecord> writeRecords = 
context().getJavaSparkContext().parallelize(records, 1);
-      List<WriteStatus> result = client.upsert(writeRecords, 
newCommitTime).collect();
-      Assertions.assertNoWriteErrors(result);
+      JavaRDD<WriteStatus> result = client.upsert(writeRecords, newCommitTime);
+      client.commit(newCommitTime, result);
+      Assertions.assertNoWriteErrors(result.collect());

Review Comment:
   Let's check modifications like this, looks like redundant write are 
triggered.



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