Opplæring
DESCRIBE EXTERNAL LOCATION
Applies to: Databricks SQL
Databricks Runtime 10.4 LTS and above
Unity Catalog only
Returns the metadata of an existing external location. The metadata information includes location name, URL, associated credential, owner, and timestamps of creation and last modification.
DESCRIBE EXTERNAL LOCATION location_name
If location_name
includes special characters, such as hyphens (-
), it must be surrounded by backticks (` `
). See Names.
-
The name of an existing external location in the metastore. If the name does not exist, an exception is thrown.
> DESCRIBE EXTERNAL LOCATION best_loco;
name url credential_name owner created_by created_at comment
--------- ------------------------------------------------------------------- --------------- -------------- -------------- ---------------- ----------
best_loco abfss://container@storageaccount.dfs.core.windows.net/best_location good_credential scooby@doo.com scooby@doo.com 2021-11-12 13:51 Nice place
Flere ressurser
Dokumentasjon
-
SHOW EXTERNAL LOCATIONS - Azure Databricks - Databricks SQL
Learn how to use the SHOW EXTERNAL LOCATIONS syntax of the SQL language in Databricks SQL and Databricks Runtime.
-
EXTERNAL_LOCATIONS - Azure Databricks - Databricks SQL
Learn about the INFORMATION\_SCHEMA.EXTERNAL\_LOCATIONS relation in Databricks SQL and Databricks Runtime.
-
ALTER EXTERNAL LOCATION - Azure Databricks - Databricks SQL
Learn how to use the ALTER EXTERNAL LOCATION syntax of the SQL language in Databricks SQL and Databricks Runtime.