1
0

[MINOR] Fix typo in IntervalTreeBasedGlobalIndexFileFilter (#3993)

Co-authored-by: 闫杜峰 <yandufeng@sinochem.com>
This commit is contained in:
dufeng1010
2021-11-15 14:39:43 +08:00
committed by GitHub
parent a0dae41409
commit 3c4319729c

View File

@@ -46,8 +46,8 @@ class IntervalTreeBasedGlobalIndexFileFilter implements IndexFileFilter {
IntervalTreeBasedGlobalIndexFileFilter(final Map<String, List<BloomIndexFileInfo>> partitionToFileIndexInfo) {
List<BloomIndexFileInfo> allIndexFiles = new ArrayList<>();
partitionToFileIndexInfo.forEach((parition, bloomIndexFileInfoList) -> bloomIndexFileInfoList.forEach(file -> {
fileIdToPartitionPathMap.put(file.getFileId(), parition);
partitionToFileIndexInfo.forEach((partition, bloomIndexFileInfoList) -> bloomIndexFileInfoList.forEach(file -> {
fileIdToPartitionPathMap.put(file.getFileId(), partition);
allIndexFiles.add(file);
}));