delete_partition_index
¶
delete_partition_index(
database_name: NameString,
table_name: NameString,
index_name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> DeletePartitionIndexResponse
Deletes a specified partition index from an existing table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The catalog ID where the table resides.
-
database_name(NameString) –Specifies the name of a database from which you want to delete a partition index.
-
table_name(NameString) –Specifies the name of a table from which you want to delete a partition index.
-
index_name(NameString) –The name of the partition index to be deleted.
Raises:
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 | |