mirror of https://github.com/apache/druid.git
1 more change
This commit is contained in:
parent
4c5813d165
commit
67fce5f20e
|
@ -70,10 +70,9 @@ public abstract class NumericFirstVectorAggregator implements VectorAggregator
|
||||||
for (int i = startRow; i < endRow; i++) {
|
for (int i = startRow; i < endRow; i++) {
|
||||||
index = i;
|
index = i;
|
||||||
final long earliestTime = timeVector[index];
|
final long earliestTime = timeVector[index];
|
||||||
if (earliestTime > firstTime) {
|
if (earliestTime >= firstTime) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (earliestTime < firstTime) {
|
|
||||||
firstTime = earliestTime;
|
firstTime = earliestTime;
|
||||||
if (useDefault || nullValueVector == null || !nullValueVector[index]) {
|
if (useDefault || nullValueVector == null || !nullValueVector[index]) {
|
||||||
updateTimeWithValue(buf, position, firstTime, index);
|
updateTimeWithValue(buf, position, firstTime, index);
|
||||||
|
@ -82,7 +81,6 @@ public abstract class NumericFirstVectorAggregator implements VectorAggregator
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue