Skip to main content

grouping_supported

Function grouping_supported 

Source
fn grouping_supported(schema: &SeriesSchema, group: &Grouping) -> bool
Expand description

Whether the kernel folds schema’s series the way group asks.

The kernel validates its grouping by the schema alone: the group is a set of series labels, and a by naming one of the schema’s fields would group by a value that varies between samples. This is the check FloatAggregator::try_new_budgeted and VectorRuntime::try_new run, spelled once so a reader of either name finds the same rule.