Databricks icon

Databricks

Interact with Databricks API

Unity Catalog → Delete Catalog

AI-generated

Overview

This node operation deletes a specified catalog in the Unity Catalog resource of Databricks. It is useful for managing data governance by removing catalogs that are no longer needed or relevant. For example, a user can automate the cleanup of obsolete data catalogs in their Databricks environment.

Use Case Examples

  1. Deleting a catalog named 'sales_data' to remove outdated data governance structures.
  2. Automating catalog deletion as part of a data lifecycle management workflow.

Properties

Name Meaning
Catalog The catalog to delete, specified by name or selected from a list.

Output

JSON

  • success - Indicates if the catalog was deleted successfully (true/false).
  • message - Confirmation message about the deletion status.
  • catalogName - The name of the catalog that was deleted.

Dependencies

  • Databricks API with appropriate authentication token

Troubleshooting

  • Ensure the catalog name is correct and exists in the Unity Catalog before attempting deletion.
  • Check that the API token used has sufficient permissions to delete catalogs.
  • Common errors include API errors with status codes indicating authorization failure or resource not found.
  • Network errors may occur if the Databricks host URL is incorrect or unreachable.

Links

Discussion