Similar to max/min aggregators, it would be useful to implement a first/last aggregator which could be specified at index-time thereby only indexing the first or last row sent to Druid.
Currently, the only way to achieve this is to store every row in Druid and use a select query to get the first or last row ordered by timestamp.
Similar to max/min aggregators, it would be useful to implement a first/last aggregator which could be specified at index-time thereby only indexing the first or last row sent to Druid.
Currently, the only way to achieve this is to store every row in Druid and use a
selectquery to get the first or last row ordered by timestamp.