[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user