You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/04/29 03:06:48 UTC
[GitHub] [hudi] wxplovecc commented on a diff in pull request #5185: [HUDI-3758] Fix duplicate fileId error in MOR table type with flink bucket hash Index
wxplovecc commented on code in PR #5185:
URL: https://github.com/apache/hudi/pull/5185#discussion_r861434321
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bucket/BucketStreamWriteFunction.java:
##########
@@ -185,5 +209,30 @@ private void bootstrapIndexIfNeed(String partition) {
}
});
bucketIndex.put(partition, bucketToFileIDMap);
+
Review Comment:
It was Empty After test `getLatestFileSlicesBeforeOrOn` , and I also test
``` java
this.writeClient.getHoodieTable().getFileSystemView().getAllFileGroups(partition).forEach(group -> {
String fileID = group.getFileGroupId().getFileId();
```
that works. What do you think
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org