mirror of https://github.com/apache/druid.git
Merge remote-tracking branch 'origin/druid-0.7.x-fastTopN-rebase' into druid-0.7.x-fastTopN-rebase
This commit is contained in:
commit
9ac8589143
|
@ -165,8 +165,8 @@ public class PooledTopNAlgorithm
|
||||||
}
|
}
|
||||||
|
|
||||||
final int nAggregators = theAggregators.length;
|
final int nAggregators = theAggregators.length;
|
||||||
final int extra = nAggregators - (nAggregators % 4) - 1;
|
final int extra = nAggregators - nAggregators % 4;
|
||||||
final int ub = (nAggregators / 4) * 4;
|
final int ub = ((nAggregators / 4) * 4) - 1;
|
||||||
|
|
||||||
while (!cursor.isDone()) {
|
while (!cursor.isDone()) {
|
||||||
final IndexedInts dimValues = dimSelector.getRow();
|
final IndexedInts dimValues = dimSelector.getRow();
|
||||||
|
|
Loading…
Reference in New Issue