mirror of
https://github.com/apache/druid.git
synced 2025-03-01 14:59:08 +00:00
Inner Query should build on sub query
This commit is contained in:
parent
958dd1a451
commit
234a958817
@ -164,7 +164,7 @@ public class GroupByQueryQueryToolChest extends QueryToolChest<Row, GroupByQuery
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We need the inner incremental index to have all the columns required by the outer query
|
// We need the inner incremental index to have all the columns required by the outer query
|
||||||
final GroupByQuery innerQuery = new GroupByQuery.Builder(query)
|
final GroupByQuery innerQuery = new GroupByQuery.Builder(subquery)
|
||||||
.setAggregatorSpecs(aggs)
|
.setAggregatorSpecs(aggs)
|
||||||
.setInterval(subquery.getIntervals())
|
.setInterval(subquery.getIntervals())
|
||||||
.setPostAggregatorSpecs(Lists.<PostAggregator>newArrayList())
|
.setPostAggregatorSpecs(Lists.<PostAggregator>newArrayList())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user