Skip to main content

vector_aggregate

Function vector_aggregate 

Source
fn vector_aggregate(
    context: &Context<'_>,
    aggregate: &AggregateExpr,
) -> Result<NativeNode>
Expand description

Binds topk, bottomk, limitk, limit_ratio or count_values as a vector operation over the expression it aggregates.

The parser gives each of them its parameter: a number for the first four, folded to the constant it means like a quantile, and a string for count_values, the label it writes the value to.