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
18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 | |