1
0

[HUDI-2000] Release file writer for merge handle #close (#3068)

Co-authored-by: 喻兆靖 <yuzhaojing@bilibili.com>
This commit is contained in:
yuzhaojing
2021-06-13 18:09:48 +08:00
committed by GitHub
parent 0c4f2fdc15
commit 6e78682cea

View File

@@ -350,6 +350,7 @@ public class HoodieMergeHandle<T extends HoodieRecordPayload, I, K, O> extends H
if (fileWriter != null) {
fileWriter.close();
fileWriter = null;
}
long fileSizeInBytes = FSUtils.getFileSize(fs, newFilePath);