Skip to content

Implement 'last' and 'first' aggregator #2845

@gauravkumar37

Description

@gauravkumar37

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions