paws.analytics (version 0.1.0)

glue_delete_table: Removes a table definition from the Data Catalog

Description

Removes a table definition from the Data Catalog.

Usage

glue_delete_table(CatalogId, DatabaseName, Name)

Arguments

CatalogId

The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.

DatabaseName

[required] The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.

Name

[required] The name of the table to be deleted. For Hive compatibility, this name is entirely lowercase.

Request syntax

svc$delete_table(
  CatalogId = "string",
  DatabaseName = "string",
  Name = "string"
)

Details

After completing this operation, you will 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 immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.