[HUDI-3180] Include files from completed commits while bootstrapping metadata table (#4519)
This commit is contained in:
committed by
GitHub
parent
bc95571caa
commit
7a8b94c82d
@@ -304,6 +304,11 @@ public class FileCreateUtils {
|
||||
Files.setLastModifiedTime(baseFilePath, FileTime.fromMillis(lastModificationTimeMilli));
|
||||
}
|
||||
|
||||
public static Path getBaseFilePath(String basePath, String partitionPath, String instantTime, String fileId) {
|
||||
Path parentPath = Paths.get(basePath, partitionPath);
|
||||
return parentPath.resolve(baseFileName(instantTime, fileId));
|
||||
}
|
||||
|
||||
public static void createLogFile(String basePath, String partitionPath, String instantTime, String fileId, int version)
|
||||
throws Exception {
|
||||
createLogFile(basePath, partitionPath, instantTime, fileId, version, 0);
|
||||
|
||||
Reference in New Issue
Block a user