POPIS KATALOGU
Platí pro: Databricks SQL Databricks Runtime 10.4 LTS a vyšší pouze katalog Unity
Vrátí metadata existujícího katalogu. Informace o metadatech zahrnují název katalogu, komentář a vlastníka.
Pokud je zadaná volitelná EXTENDED
možnost, vrátí základní informace metadat spolu s dalšími vlastnostmi katalogu.
Syntaxe
{ DESC | DESCRIBE } CATALOG [ EXTENDED ] catalog_name
Parametry
Příklady
> DESCRIBE CATALOG main;
info_name info_value
------------ ------------------------------------
Catalog Name main
Comment Main catalog (auto-created)
Owner metastore-admin-users
Catalog Type Regular
> DESCRIBE CATALOG EXTENDED main;
info_name info_value
------------ ------------------------------------
Catalog Name main
Comment This is a reserved catalog in Spark.
Comment Main catalog (auto-created)
Owner metastore-admin-users
Catalog Type Regular
Created By
Created At
Updated By
Updated At
-- A catalog from a Delta Sharing share
> DESCRIBE CATALOG vaccinedata;
info_name info_value
------------ ------------------------------------
Catalog Name vaccinedata
Comment
Owner alwaysworks@databricks.com
Catalog Type Delta Sharing