Skip to content

API should support filling in zero values for group by intervals with no data #117

Closed
@pauldix

Description

Heard this request and I don't think it's uncommon. Maybe something like this:

select count(val) from some_series group by time(5m) fill(0)

select count(state) from some_series group by time(5m), state fill(0)

The second query should fill in zero values for every unique state it has seen so far.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions