Samrat002 commented on a change in pull request #3158:
URL: https://github.com/apache/hudi/pull/3158#discussion_r659510852



##########
File path: 
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/TestHoodieClientOnCopyOnWriteStorage.java
##########
@@ -1242,11 +1242,11 @@ private void verifyInsertOverwritePartitionHandling(int 
batch1RecordsCount, int
     List<HoodieRecord> insertsAndUpdates2 = new ArrayList<>();
     insertsAndUpdates2.addAll(inserts2);
     JavaRDD<HoodieRecord> insertAndUpdatesRDD2 = 
jsc.parallelize(insertsAndUpdates2, 2);
-    HoodieWriteResult writeResult = 
client.insertOverwrite(insertAndUpdatesRDD2, commitTime2);
-    statuses = writeResult.getWriteStatuses().collect();
+    JavaRDD<WriteStatus> writeStatusJavaRDD = 
client.insertOverwrite(insertAndUpdatesRDD2, commitTime2);
+    statuses = writeStatusJavaRDD.collect();
     assertNoWriteErrors(statuses);
-
-    assertEquals(batch1Buckets, new 
HashSet<>(writeResult.getPartitionToReplaceFileIds().get(testPartitionPath)));
+    // todo fix
+    // assertEquals(batch1Buckets, new 
HashSet<>(writeResult.getPartitionToReplaceFileIds().get(testPartitionPath)));

Review comment:
       yes this will be fixed in pr itself .
   I will solve this . 




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