Skip to main content
Source

pub async fn aggregate_min_max( &self, table_name: String, column_name: String, ) -> Result<AggregateMinMaxResponse, KineticaError>

Calculate the min and max values of a column in a dataset

Calculates and returns the minimum and maximum values of a particular column in a table.

  • table_name - Name of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
  • column_name - Name of a column or an expression of one or more column on which the min-max will be calculated.

Calculate the min and max values of a column in a dataset

Calculates and returns the minimum and maximum values of a particular column in a table.

  • table_name - Name of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
  • column_name - Name of a column or an expression of one or more column on which the min-max will be calculated.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AggregateMinMaxRequest to the /aggregate/minmax endpoint.

Sends a pre-built AggregateMinMaxRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.