1
0

[HUDI-4078][HUDI-FLINK]BootstrapOperator contains the pending compact… (#5545)

* [HUDI-4078][HUDI-FLINK]BootstrapOperator contains the pending compaction files
This commit is contained in:
Bo Cui
2022-05-13 14:32:48 +08:00
committed by GitHub
parent 8ad0bb9745
commit 7fb436d3cf
6 changed files with 40 additions and 11 deletions

View File

@@ -199,7 +199,7 @@ public class BootstrapOperator<I, O extends HoodieRecord<?>>
Schema schema = new TableSchemaResolver(this.hoodieTable.getMetaClient()).getTableAvroSchema();
List<FileSlice> fileSlices = this.hoodieTable.getSliceView()
.getLatestFileSlicesBeforeOrOn(partitionPath, latestCommitTime.get().getTimestamp(), true)
.getLatestMergedFileSlicesBeforeOrOn(partitionPath, latestCommitTime.get().getTimestamp())
.collect(toList());
for (FileSlice fileSlice : fileSlices) {