Skip to content

Commit

Permalink
function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yansun7 authored and sopel39 committed May 18, 2021
1 parent 75c7906 commit 847a39b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -733,7 +733,7 @@ void closeSpiller()
spiller = Optional.empty();
}

void clear()
void clearIndexes()
{
inMemoryPagesIndexWithHashStrategies.pagesIndex.clear();
mergedPagesIndexWithHashStrategies.pagesIndex.clear();
Expand Down Expand Up @@ -943,7 +943,7 @@ static int findEndPosition(int startPosition, int endPosition, BiPredicate<Integ
public void close()
{
driverWindowInfo.set(Optional.of(windowInfo.build()));
spillablePagesToPagesIndexes.ifPresent(SpillablePagesToPagesIndexes::clear);
spillablePagesToPagesIndexes.ifPresent(SpillablePagesToPagesIndexes::clearIndexes);
spillablePagesToPagesIndexes.ifPresent(SpillablePagesToPagesIndexes::closeSpiller);
}
}

0 comments on commit 847a39b

Please sign in to comment.