Deletes multiple tables at once.
glue_batch_delete_table(CatalogId, DatabaseName, TablesToDelete)The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default.
[required] The name of the catalog database in which the tables to delete reside. For Hive compatibility, this name is entirely lowercase.
[required] A list of the table to delete.
svc$batch_delete_table(
CatalogId = "string",
DatabaseName = "string",
TablesToDelete = list(
"string"
)
)
After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.
To ensure the immediate deletion of all related resources, before
calling BatchDeleteTable, use DeleteTableVersion or
BatchDeleteTableVersion, and DeletePartition or
BatchDeletePartition, to delete any resources that belong to the
table.