start_column_statistics_task_run
async
¶
start_column_statistics_task_run(
database_name: NameString,
table_name: NameString,
role: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 | |