Skip to main content

Module query

Module query 

Source
Expand description

warden query — a general rollup over named dimensions.

This is the escape valve from the fixed report set: --group-by project,model answers a question no named report does. It is deliberately narrow — a closed list of dimensions, no filters beyond the global ones — because a real query language would freeze the record shape — warden offers a fixed rollup, not arbitrary queries.

Structs§

Dimension

Constants§

DEFAULT_GROUP_BY
Used when --group-by is omitted: the rollup people mean by default.
DIMENSIONS
The dimensions --group-by accepts, in the order the error lists them.

Functions§

build
parse_dimensions
Parse a comma-separated --group-by, rejecting anything not in DIMENSIONS and de-duplicating repeats.