Glue / Client / start_column_statistics_task_run
start_column_statistics_task_run#
- Glue.Client.start_column_statistics_task_run(**kwargs)#
Starts a column statistics task run, for a specified table and columns.
See also: AWS API Documentation
Request Syntax
response = client.start_column_statistics_task_run( DatabaseName='string', TableName='string', ColumnNameList=[ 'string', ], Role='string', SampleSize=123.0, CatalogID='string', SecurityConfiguration='string' )
- Parameters:
DatabaseName (string) –
[REQUIRED]
The name of the database where the table resides.
TableName (string) –
[REQUIRED]
The name of the table to generate statistics.
ColumnNameList (list) –
A list of the column names to generate statistics. If none is supplied, all column names for the table will be used by default.
(string) –
Role (string) –
[REQUIRED]
The IAM role that the service assumes to generate statistics.
SampleSize (float) – The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
CatalogID (string) – 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 (string) – Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
- Return type:
dict
- Returns:
Response Syntax
{ 'ColumnStatisticsTaskRunId': 'string' }
Response Structure
(dict) –
ColumnStatisticsTaskRunId (string) –
The identifier for the column statistics task run.
Exceptions
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.ColumnStatisticsTaskRunningException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.ResourceNumberLimitExceededException
Glue.Client.exceptions.InvalidInputException