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
17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 | |