Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jun 12, 2024
1 parent b05d490 commit fd33f28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected abstract Map<Worker, UninstancedScanSource> multipleMachinesParalleliz
protected List<AssignedJob> insideMachineParallelization(
Map<Worker, UninstancedScanSource> workerToScanRanges) {

boolean useLocalShuffle = useShareScan(workerToScanRanges);
boolean useShareScan = useShareScan(workerToScanRanges);
int instanceIndexInFragment = 0;
int shareScanIndex = 0;
List<AssignedJob> instances = Lists.newArrayList();
Expand All @@ -78,7 +78,7 @@ protected List<AssignedJob> insideMachineParallelization(
int instanceNum = degreeOfParallelism(scanSourceMaxParallel);

List<ScanSource> instanceToScanRanges;
if (useLocalShuffle) {
if (useShareScan) {
// only generate one instance to scan all data, in this step
instanceToScanRanges = scanSource.parallelize(
scanNodes, 1
Expand Down

0 comments on commit fd33f28

Please sign in to comment.