Skip to main content
Source

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

Clears statistics for column(s) in a table.

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

  • table_name - Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ‘*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, column_name must be empty.
  • column_name - Name of the column in table_name for which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty when table_name is ‘*’.

Clears statistics for column(s) in a table.

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

  • table_name - Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ‘*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, column_name must be empty.
  • column_name - Name of the column in table_name for which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty when table_name is ‘*’.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built ClearStatisticsRequest to the /clear/statistics endpoint.

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