EXTERNAL_LOCATIONS
Applies to: Databricks SQL Databricks Runtime 10.4 LTS and above
INFORMATION_SCHEMA.EXTERNAL_LOCATIONS describes external locations.
Information is displayed only for external locations the user has permission to interact with.
This is an extension to the SQL Standard Information Schema.
Definition
The EXTERNAL_LOCATIONS
relation contains the following columns:
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
Name of the external location. |
|
|
No |
Owner of the external location. |
|
|
No |
Path URL of the external location. |
|
|
No |
ID of the storage credential to access URL. |
|
|
No |
Name of the storage credential to access URL. |
|
|
No |
Whether the external location is read-only. |
|
|
Yes |
An optional comment that describes the external location. |
|
|
No |
Timestamp when the external location was created. |
|
|
No |
Principal who created the external location. |
|
|
No |
Timestamp when the external location was last altered in any way. |
|
|
No |
Principal who last altered the external location. |
Constraints
The following constraints apply to the EXTERNAL_LOCATIONS
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Unique identifier for the external location. |
Foreign key |
|
|
References STORAGE_CREDENTIALS |