@perspective-dev/client
    Preparing search index...

    Specification for a window aggregate.

    type WindowAggSpec = {
        alpha?: boolean;
        frames?: string[];
        name: string;
        offset?: boolean;
        result_type?: ColumnType;
    }
    Index

    Properties

    alpha?: boolean

    Takes a smoothing factor, as ema does.

    frames?: string[]

    Frame kinds this aggregate accepts (rows, range, cumulative). Empty means it takes no frame at all.

    name: string
    offset?: boolean

    Takes a row offset, as lag / lead / diff do.

    result_type?: ColumnType

    The output column type. None means the source column's type, which is what min / max / lag do.