Skip to content

Commit

Permalink
[fix](compile) fe cannot compile in idea (#32955)
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow authored and Doris-Extras committed Mar 31, 2024
1 parent 6b19572 commit 58e53b3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.doris.catalog.Partition;
import org.apache.doris.common.Config;
import org.apache.doris.common.MetaNotFoundException;
import org.apache.doris.common.Pair;
import org.apache.doris.common.util.DebugPointUtil;
import org.apache.doris.common.util.MasterDaemon;
import org.apache.doris.metric.MetricRepo;
Expand All @@ -45,7 +46,6 @@
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
Expand Down Expand Up @@ -225,8 +225,8 @@ private Map<Long, Set<Long>> getBaseTabletIdsForEachBe(TransactionState transact
.flatMap(Collection::stream)
.flatMap(tablet ->
tablet.getBackendIds()
.stream().map(backendId -> Map.entry(backendId, tablet.getId())))
.collect(Collectors.groupingBy(Entry::getKey,
Collectors.mapping(Entry::getValue, Collectors.toSet())));
.stream().map(backendId -> Pair.of(backendId, tablet.getId())))
.collect(Collectors.groupingBy(p -> p.first,
Collectors.mapping(p -> p.second, Collectors.toSet())));
}
}

0 comments on commit 58e53b3

Please sign in to comment.