VOLUME_TAGS
Applies to: Databricks SQL Databricks Runtime 14.3 and above Unity Catalog only.
INFORMATION_SCHEMA.VOLUME_TAGS
contains the volume tagging metadata within the catalog, or all volumes if owned by the SYSTEM
catalog.
Information is displayed only for volumes the user has permission to interact with.
This relation is an extension to the SQL Standard Information Schema.
Definition
The VOLUME_TAGS
relation contains the following fields:
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
The catalog of the volume that a given tag applies to. |
|
|
No |
The schema of the volume that the tag applies to. |
|
|
No |
The volume that the tag applies to. |
|
|
No |
The name of the tag. |
|
|
No |
The value of the tag. |
Constraints
The following constraints apply to the VOLUME_TAGS
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Unique identifier for a volume tag. |
Foreign key |
|
|
References SCHEMATA |
Foreign key |
|
|
References VOLUMES |
Foreign key |
|
|
References CATALOGS |