Skip to main content

aggregate_source_schema

Function aggregate_source_schema 

Source
pub fn aggregate_source_schema(
    input_columns: &OrderedMap<Column>,
    group_key: &[String],
    aggregate: &Aggregate,
) -> Result<(OrderedMap<Column>, Vec<String>), PipelineError>
Expand description

aggregateSourceSchema: the columns and primary key of the rows an aggregate emits, from its input’s columns and its group key. A top-level aggregate has no group key, so its one row is keyed by _0_key.