mirror of https://github.com/apache/druid.git
review comments
This commit is contained in:
parent
d66ae5ac10
commit
3eb8160b51
|
@ -146,13 +146,8 @@ public class TimeseriesQueryQueryToolChest extends QueryToolChest<Result<Timeser
|
|||
values.put(agg.getName(), fn.manipulate(agg, holder.getMetric(agg.getName())));
|
||||
}
|
||||
for (PostAggregator postAgg : query.getPostAggregatorSpecs()) {
|
||||
Object computedPostAggValue = holder.getMetric(postAgg.getName());
|
||||
if (computedPostAggValue != null) {
|
||||
values.put(postAgg.getName(), computedPostAggValue);
|
||||
} else {
|
||||
values.put(postAgg.getName(), postAgg.compute(values));
|
||||
}
|
||||
}
|
||||
return new Result<TimeseriesResultValue>(
|
||||
result.getTimestamp(),
|
||||
new TimeseriesResultValue(values)
|
||||
|
|
Loading…
Reference in New Issue