Manage and work with foreign catalogs
A foreign catalog is a securable object in Unity Catalog that mirrors a database in an external data system. It lets you run read-only queries on that data system from your Databricks workspace, and manage access using Unity Catalog.
You work with a foreign catalog the same way you work with any catalog managed by Unity Catalog, with the differences described in the following table.
Task | Details | Reference |
|---|---|---|
View foreign catalog details | Catalog Explorer shows the same details as standard Unity Catalog catalogs, plus the Connection used by the foreign catalog and the external database or catalog it mirrors. | |
Query data in a foreign catalog | You can run read-only queries on tables in a foreign catalog.
| |
Grant access to foreign tables | You grant read-only access to foreign tables using standard Unity Catalog privileges. | |
View data lineage | Databricks tracks data lineage for tables in foreign catalogs the same way it tracks lineage for standard Unity Catalog tables. | |
Create a foreign catalog | You create a foreign catalog as part of setting up a connection to an external data source. If you use the UI to create the connection, foreign catalog creation is included in that flow. |