Skip to main content

CATALOG_PROVIDER_SHARE_USAGE

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 10.4 LTS and above

INFORMATION_SCHEMA.CATALOG_PROVIDER_SHARE_USAGE lists catalogs that have mounted provider shares.

Information is displayed only for catalogs the user has permission to interact with.

This is an extension to the SQL Standard Information Schema.

Definition

The CATALOG_PROVIDER_SHARE_USAGE relation contains the following columns:

NameData typeNullableDescription
CATALOG_NAMESTRINGNoCatalog that has mounted the share.
PROVIDER_NAMESTRINGNoProvider that shared the share.
SHARE_NAMESTRINGNoName of the share.

Constraints

The following constraints apply to the CATALOG_PROVIDER_SHARE_USAGE relation:

ClassNameColumn ListDescription
Primary keyCATALOG_PROVIDER_SHARE_USAGE_PKCATALOG_NAME, PROVIDER_NAME, SHARE_NAMEUnique identifier for the catalog provider share usage.
Foreign keyCATALOG_PROVIDER_SHARE_USAGE_CATALOGS_FKCATALOG_NAMEReferences CATALOGS
Foreign keyCATALOG_PROVIDER_SHARE_USAGE_PROVIDERS_FKPROVIDER_NAMEReferences PROVIDERS

Examples

SQL
> SELECT catalog_name, provider_name, share_name
FROM information_schema.catalog_provider_share_usage;