marmotdata/unitycatalog
Discover catalogs, tables, views, volumes, functions and models from Unity Catalog servers
The Unity Catalog plugin discovers catalogs, tables, views, volumes, functions and registered models from a Unity Catalog server.
It talks to the open-source Unity Catalog REST API at {host}/api/2.1/unity-catalog, so it works against a self-hosted server and against anything else that serves the same API. Schemas are not assets of their own: every object is named by its three-part catalog.schema.object name and hangs off its catalog.
Authentication
token is sent as a bearer token when it is set. A server running without authentication needs no token.
Lineage
- Each catalog CONTAINS every table, view, volume, function and model under it.
- A view gets a VIEW_OF edge from each base table its definition reads, resolved against the view's own catalog and schema.
- A table with foreign key constraints gets a FOREIGN_KEY edge to each parent table discovered in the same run. The open-source server does not store constraints, so these come from Databricks-compatible servers only.
- A table or volume stored on cloud object storage gets a FEEDS edge from its bucket or container:
s3://from the S3 plugin,gs://from GCS,abfss://from Azure Blob. The bucket asset itself belongs to those plugins; this plugin only emits the edge.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Unity Catalog from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
hostText RequiredUnity Catalog server URL, for example http://localhost:8080
tokenSecretBearer token, when the server requires one
catalogsList of textCatalogs to discover (all when empty)
exclude_catalogsList of textCatalogs to skip
include_columnsYes or noWhether to include column information in table metadata
include_volumesYes or noWhether to discover volumes
include_functionsYes or noWhether to discover functions
include_modelsYes or noWhether to discover registered models
verify_sslYes or noWhether to verify the server's TLS certificate
page_sizeNumberObjects requested per API page
Assets emitted
Metadata this plugin attaches to each discovered asset.
Catalog
The metadata fields emitted for catalog assets.
Table
The metadata fields emitted for table and view assets.
Column
The per-column fields embedded in an asset's schema.
Volume
The metadata fields emitted for volume assets.
Function
The metadata fields emitted for function assets.
Model
The metadata fields emitted for registered model assets.