start_column_statistics_task_run
¶
start_column_statistics_task_run(
database_name: NameString,
table_name: NameString,
role: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
column_name_list: Optional[ColumnNameList] = None,
sample_size: Optional[SampleSizePercentage] = None,
catalog_id: Optional[CatalogIdString] = None,
security_configuration: Optional[NameString] = None,
) -> StartColumnStatisticsTaskRunResponse
Starts a column statistics task run, for a specified table and columns.
Parameters:
-
database_name(NameString) –The name of the database where the table resides.
-
table_name(NameString) –The name of the table to generate statistics.
-
column_name_list(Optional[ColumnNameList], default:None) –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(NameString) –The IAM role that the service assumes to generate statistics.
-
sample_size(Optional[SampleSizePercentage], default:None) –The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the table reside. If none is supplied, the Amazon Web Services account ID is used by default.
-
security_configuration(Optional[NameString], default:None) –Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ColumnStatisticsTaskRunningException–An exception thrown when you try to start another job while running a column stats generation job.
-
EntityNotFoundException–A specified entity does not exist
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 | |