Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void processElement(I i, ProcessFunction<I, Object>.Context context, Coll
bootstrapIndexIfNeed(partition);
Map<Integer, String> bucketToFileId = bucketIndex.computeIfAbsent(partition, p -> new HashMap<>());
final int bucketNum = BucketIdentifier.getBucketId(hoodieKey, indexKeyFields, this.bucketNum);
final String bucketId = partition + bucketNum;
final String bucketId = partition + "/" + bucketNum;

if (incBucketIndex.contains(bucketId)) {
location = new HoodieRecordLocation("I", bucketToFileId.get(bucketNum));
Expand Down