Glue / Client / create_column_statistics_task_settings

create_column_statistics_task_settings#

Glue.Client.create_column_statistics_task_settings(**kwargs)#

Creates settings for a column statistics task.

See also: AWS API Documentation

Request Syntax

response = client.create_column_statistics_task_settings(
    DatabaseName='string',
    TableName='string',
    Role='string',
    Schedule='string',
    ColumnNameList=[
        'string',
    ],
    SampleSize=123.0,
    CatalogID='string',
    SecurityConfiguration='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • DatabaseName (string) –

    [REQUIRED]

    The name of the database where the table resides.

  • TableName (string) –

    [REQUIRED]

    The name of the table for which to generate column statistics.

  • Role (string) –

    [REQUIRED]

    The role used for running the column statistics.

  • Schedule (string) – A schedule for running the column statistics, specified in CRON syntax.

  • ColumnNameList (list) –

    A list of column names for which to run statistics.

    • (string) –

  • SampleSize (float) – The percentage of data to sample.

  • CatalogID (string) – The ID of the Data Catalog in which the database resides.

  • SecurityConfiguration (string) – Name of the security configuration that is used to encrypt CloudWatch logs.

  • Tags (dict) –

    A map of tags.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Glue.Client.exceptions.AlreadyExistsException

  • Glue.Client.exceptions.AccessDeniedException

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.OperationTimeoutException

  • Glue.Client.exceptions.ResourceNumberLimitExceededException

  • Glue.Client.exceptions.ColumnStatisticsTaskRunningException