[HUDI-4393] Add marker file for target file when flink merge handle rolls over (#6103)
This commit is contained in:
@@ -655,7 +655,7 @@ public abstract class HoodieTable<T extends HoodieRecordPayload, I, K, O> implem
|
||||
invalidDataPaths.removeAll(validDataPaths);
|
||||
|
||||
if (!invalidDataPaths.isEmpty()) {
|
||||
LOG.info("Removing duplicate data files created due to spark retries before committing. Paths=" + invalidDataPaths);
|
||||
LOG.info("Removing duplicate data files created due to task retries before committing. Paths=" + invalidDataPaths);
|
||||
Map<String, List<Pair<String, String>>> invalidPathsByPartition = invalidDataPaths.stream()
|
||||
.map(dp -> Pair.of(new Path(basePath, dp).getParent().toString(), new Path(basePath, dp).toString()))
|
||||
.collect(Collectors.groupingBy(Pair::getKey));
|
||||
|
||||
Reference in New Issue
Block a user