apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.52k stars 3.71k forks source link

add support for aggregate only projections #17484

Open clintropolis opened 1 week ago

clintropolis commented 1 week ago

Adds support for defining projections that contain only aggregators and no grouping columns, for example if you wanted to precompute the sum or max or approximate distinct count or whatever of some columns - think timeseries queries with ALL granularity.

I meant to add this in the initial PR, but kind of forgot about it, so here it is now.