final CatalogStorage tableStorage = (CatalogStorage) storage;
String stagingDir = FeedHelper.getStagingDir(cluster, feed, tableStorage, Tag.REPLICATION);
Path stagingPath = new Path(stagingDir + "/*/*/*"); // stagingDir/dataOutPartitionValue/nominal-time/data
FileSystem fs = getFileSystem(cluster);
try {
FileStatus[] paths = fs.globStatus(stagingPath);
delete(cluster, feed, retention, paths);
} catch (IOException e) {
throw new FalconException(e);
}
}