From 11b0117422c90aa33cfbf7e80afcc944f4f32633 Mon Sep 17 00:00:00 2001 From: Himanshu Gupta Date: Wed, 17 Feb 2016 20:51:35 -0600 Subject: [PATCH] do not drop post-aggs in timeseries query tool chest makePreComputeManipulatorFn like other query types --- .../druid/query/timeseries/TimeseriesQueryQueryToolChest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/src/main/java/io/druid/query/timeseries/TimeseriesQueryQueryToolChest.java b/processing/src/main/java/io/druid/query/timeseries/TimeseriesQueryQueryToolChest.java index 80256b89f5e..1a61c067c97 100644 --- a/processing/src/main/java/io/druid/query/timeseries/TimeseriesQueryQueryToolChest.java +++ b/processing/src/main/java/io/druid/query/timeseries/TimeseriesQueryQueryToolChest.java @@ -238,8 +238,8 @@ public class TimeseriesQueryQueryToolChest extends QueryToolChest apply(Result result) { - final Map values = Maps.newHashMap(); final TimeseriesResultValue holder = result.getValue(); + final Map values = Maps.newHashMap(holder.getBaseObject()); if (calculatePostAggs) { // put non finalized aggregators for calculating dependent post Aggregators for (AggregatorFactory agg : query.getAggregatorSpecs()) {