MCPcopy Create free account
hub / github.com/apache/impala / max

Method max

fe/src/main/java/org/apache/impala/planner/CoreCount.java:136–142  ·  view source on GitHub ↗
(CoreCount core1, CoreCount core2)

Source from the content-addressed store, hash-verified

134 }
135
136 protected static CoreCount max(CoreCount core1, CoreCount core2) {
137 if (core1.totalWithoutCoordinator() < core2.totalWithoutCoordinator()) {
138 return core2;
139 } else {
140 return core1;
141 }
142 }
143}

Callers 15

maxCoreMethod · 0.95
isWriteIdRangeValidMethod · 0.45
computeStatsMethod · 0.45
computeCardinalitiesMethod · 0.45
createDmlFragmentMethod · 0.45
computeStatsMethod · 0.45
computeStatsMethod · 0.45

Calls 1

Tested by

no test coverage detected