pub(crate) fn validate_aggregate_series<'a>(
schema: &SeriesSchema,
series: &'a Series,
op: AggregateOp,
) -> Result<&'a TimeAxis>Expand description
Checks a series for the aggregate op folds, and returns its evaluated axis.
Every operation this route folds takes a histogram series: it counts the sample, skips it, or folds the payload. What a series must satisfy is therefore its axis, not its sample type – the fold itself is where a payload an operation cannot use is refused or dropped.