Module Values_0.AggregateOperationSource

A transform operation that groups rows by specified columns and applies aggregation functions to calculate summary values.

Sourcetype nonrec t = {
  1. alias : TransformOperationAlias.t;
    (*

    Alias for this operation.

    *)
  2. source : TransformOperationSource.t;
    (*

    The source transform operation that provides input data for the aggregation.

    *)
  3. groupByColumnNames : GroupByColumnNameList.t option;
    (*

    The list of column names to group by when performing the aggregation. Rows with the same values in these columns will be grouped together.

    *)
  4. aggregations : AggregationList.t;
    (*

    The list of aggregation functions to apply to the grouped data, such as SUM, COUNT, or AVERAGE.

    *)
}
Sourceval context_ : string
Sourceval make : ?groupByColumnNames:??? -> alias:TransformOperationAlias.t -> source:TransformOperationSource.t -> aggregations:AggregationList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ColumnName.t | `Structure of (string * [> `String of ColumnName.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of ColumnName.t ]) list ]) list ]) list ] list | `String of TransformOperationAlias.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ColumnId.t ]) list ] list | `String of DataSetEntityResourceId.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t