Skip to content

Commit

Permalink
share hash table
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Oct 9, 2024
1 parent cee316d commit b3e619c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected List<AssignedJob> insideMachineParallelization(
int instanceNum = degreeOfParallelism(scanSourceMaxParallel);

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

0 comments on commit b3e619c

Please sign in to comment.