Handle inflight clean instants during Hoodie instants archiving
This commit is contained in:
@@ -124,6 +124,14 @@ public class HoodieTestUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public static final void createInflightCleanFiles(String basePath, String... commitTimes)
|
||||
throws IOException {
|
||||
for (String commitTime : commitTimes) {
|
||||
new File(basePath + "/" + HoodieTableMetaClient.METAFOLDER_NAME + "/" +
|
||||
HoodieTimeline.makeInflightCleanerFileName(commitTime)).createNewFile();
|
||||
}
|
||||
}
|
||||
|
||||
public static final String createNewDataFile(String basePath, String partitionPath,
|
||||
String commitTime) throws IOException {
|
||||
String fileID = UUID.randomUUID().toString();
|
||||
|
||||
Reference in New Issue
Block a user