Skip to content

Commit

Permalink
[fix](compile) fe cannot compile in idea
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow committed Mar 28, 2024
1 parent 49875c3 commit 46c7a05
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 46c7a05

Please sign in to comment.