1
0

[HUDI-4255] Make the flink merge and replace handle intermediate file visible (#5866)

This commit is contained in:
Danny Chan
2022-06-15 14:23:23 +08:00
committed by GitHub
parent 25bbff64cf
commit 0811bb38fb
3 changed files with 12 additions and 6 deletions

View File

@@ -195,8 +195,10 @@ public class HoodieMergeHandle<T extends HoodieRecordPayload, I, K, O> extends H
writeStatus.getStat().setFileId(fileId);
setWriteStatusPath();
// Create Marker file
createMarkerFile(partitionPath, newFileName);
// Create Marker file,
// uses name of `newFilePath` instead of `newFileName`
// in case the sub-class may roll over the file handle name.
createMarkerFile(partitionPath, newFilePath.getName());
// Create the writer for writing the new version file
fileWriter = createNewFileWriter(instantTime, newFilePath, hoodieTable, config,