QuestionQ81

VerifiedData Governance & Quality

A data engineer is retiring a sandbox schema in Unity Catalog. Some tables are ephemeral staging outputs that can be safely removed completely, while several tables reference shared cloud storage used by downstream jobs outside Databricks. The engineer must not delete any shared files while cleaning up catalog objects.

How does Unity Catalog behave when dropping Managed versus External tables?

Explanation

Unity Catalog controls the storage lifecycle of managed tables, so dropping a managed table removes its metadata and causes its underlying data files to be deleted after the applicable recovery period. An external table uses storage whose lifecycle is controlled outside Unity Catalog; dropping it removes only the catalog metadata and leaves the underlying cloud-storage files in place.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!