Skip to content

Commit

Permalink
Core: Plan concurrently if there are multiple delete manifests (#8388)
Browse files Browse the repository at this point in the history
  • Loading branch information
aokolnychyi authored Aug 24, 2023
1 parent 4f6d86d commit 1f8dbae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/apache/iceberg/DataTableScan.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public CloseableIterable<FileScanTask> doPlanFiles() {
manifestGroup = manifestGroup.ignoreResiduals();
}

if (dataManifests.size() > 1 && shouldPlanWithExecutor()) {
if (shouldPlanWithExecutor() && (dataManifests.size() > 1 || deleteManifests.size() > 1)) {
manifestGroup = manifestGroup.planWith(planExecutor());
}

Expand Down

0 comments on commit 1f8dbae

Please sign in to comment.