Removes a specified database from a Data Catalog.
glue_delete_database(CatalogId, Name)
The ID of the Data Catalog in which the database resides. If none is provided, the AWS account ID is used by default.
[required] The name of the database to delete. For Hive compatibility, this must be all lowercase.
svc$delete_database( CatalogId = "string", Name = "string" )
After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. 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 DeleteDatabase
, use DeleteTableVersion
or
BatchDeleteTableVersion
, DeletePartition
or BatchDeletePartition
,
DeleteUserDefinedFunction
, and DeleteTable
or BatchDeleteTable
, to
delete any resources that belong to the database.