Skip to content

Starts a column statistics task run, for a specified table and columns

Description

Starts a column statistics task run, for a specified table and columns.

Usage

glue_start_column_statistics_task_run(DatabaseName, TableName,
  ColumnNameList, Role, SampleSize, CatalogID, SecurityConfiguration)

Arguments

  • DatabaseName

    [required] The name of the database where the table resides.

  • TableName

    [required] The name of the table to generate statistics.

  • ColumnNameList

    A list of the column names to generate statistics. If none is supplied, all column names for the table will be used by default.

  • Role

    [required] The IAM role that the service assumes to generate statistics.

  • SampleSize

    The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.

  • CatalogID

    The ID of the Data Catalog where the table reside. If none is supplied, the Amazon Web Services account ID is used by default.

  • SecurityConfiguration

    Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.

Value

A list with the following syntax:

list(
  ColumnStatisticsTaskRunId = "string"
)

Request syntax

svc$start_column_statistics_task_run(
  DatabaseName = "string",
  TableName = "string",
  ColumnNameList = list(
    "string"
  ),
  Role = "string",
  SampleSize = 123.0,
  CatalogID = "string",
  SecurityConfiguration = "string"
)