yihua commented on code in PR #12568:
URL: https://github.com/apache/hudi/pull/12568#discussion_r1932989054


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/rollback/BaseRollbackHelper.java:
##########
@@ -116,8 +118,10 @@ List<Pair<String, HoodieRollbackStat>> 
maybeDeleteAndCollectStats(HoodieEngineCo
                                                                     
HoodieInstant instantToRollback,
                                                                     
List<SerializableHoodieRollbackRequest> rollbackRequests,
                                                                     boolean 
doDelete, int numPartitions) {
+    List<SerializableHoodieRollbackRequest> groupedRollbackRequests =
+        groupSerializableRollbackRequestsBasedOnFileGroup(rollbackRequests);
     final TaskContextSupplier taskContextSupplier = 
context.getTaskContextSupplier();
-    return context.flatMap(rollbackRequests, 
(SerializableFunction<SerializableHoodieRollbackRequest, Stream<Pair<String, 
HoodieRollbackStat>>>) rollbackRequest -> {
+    return context.flatMap(groupedRollbackRequests, 
(SerializableFunction<SerializableHoodieRollbackRequest, Stream<Pair<String, 
HoodieRollbackStat>>>) rollbackRequest -> {

Review Comment:
   Fixed.



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