Unity Catalog Catalog Connector
Connect to a Unity Catalog as a catalog provider for federated SQL query against Delta Lake tables.
Configuration​
catalogs:
- from: unity_catalog:https://my_unity_catalog_host.com/api/2.1/unity-catalog/catalogs/my_catalog
name: uc
include:
- "*.my_table"
dataset_params:
# delta_lake S3 parameters
unity_catalog_aws_region: us-west-2
unity_catalog_aws_access_key_id: ${secrets:aws_access_key_id}
unity_catalog_aws_secret_access_key: ${secrets:aws_secret_access_key}
unity_catalog_aws_endpoint: s3.us-west-2.amazonaws.com
from​
The from field is used to specify the catalog provider. For Unity Catalog, use unity_catalog:<catalog_path>. The catalog_path is the URL to the getCatalog endpoint of the Unity Catalog API. It should be formatted as https://<unity_catalog_host>/api/2.1/unity-catalog/catalogs/<catalog_name>.
name​
The name field is used to specify the name of the catalog in Spice. The schema hierarchy of the external catalog is preserved in Spice.
include​
Use the include field to specify which tables to include from the catalog. The include field supports glob patterns to match multiple tables. For example, *.my_table_name would include all tables with the name my_table_name in the catalog from any schema. Multiple include patterns are OR'ed together and can be specified to include multiple tables.
params​
The params field is used to configure the connection to the Unity Catalog. The following parameters are supported:
unity_catalog_token: The personal access token used to authenticate against the Unity Catalog API.
dataset_params​
The dataset_params field is used to configure the dataset-specific parameters for the catalog.