1
0

[HUDI-2380] The default archive folder should be 'archived' (#3568)

This commit is contained in:
Danny Chan
2021-09-04 15:53:55 +08:00
committed by GitHub
parent 073c318d9f
commit e9bf1c1186
2 changed files with 5 additions and 6 deletions

View File

@@ -227,11 +227,7 @@ public class HoodieTableMetaClient implements Serializable {
*/
public String getArchivePath() {
String archiveFolder = tableConfig.getArchivelogFolder();
if (archiveFolder.equals(HoodieTableConfig.ARCHIVELOG_FOLDER.defaultValue())) {
return getMetaPath();
} else {
return getMetaPath() + "/" + archiveFolder;
}
return getMetaPath() + "/" + archiveFolder;
}
/**