trushev commented on code in PR #7626:
URL: https://github.com/apache/hudi/pull/7626#discussion_r1065499424


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/HoodieFlinkWriteClient.java:
##########
@@ -94,7 +94,7 @@
    * FileID to write handle mapping in order to record the write handles for 
each file group,
    * so that we can append the mini-batch data buffer incrementally.
    */
-  private final Map<String, HoodieWriteHandle<?, ?, ?, ?>> bucketToHandles;
+  private final Map<String, MiniBatchHandle> bucketToHandles;
 

Review Comment:
   - Reverted replacing `HoodieWriteHandle` with `MiniBatchHandle`.
   - Reverted `FlinkClosedHandle`
   - Introduced class `BucketHandles` replacing with `Map<String, 
HoodieWriteHandle<?, ?, ?, ?>> bucketToHandles` to keep handles and write paths
   - Added test `BucketHandles`
   
   Workload benchmark results are the same



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