Description
Query tables in an External Catalog using the three-level naming structure (catalog.schema.table), with support for joining with Lakehouse local tables.
Syntax
Parameter Description
catalog_name: Catalog name, which must have been registered viaCREATE EXTERNAL CATALOG.schema_name: Schema name.table_name: Table name.- Querying tables in an External Catalog requires the three-level structure;
catalog_namecannot be omitted.
Examples
Query the region table in a shared catalog:
Join with a Lakehouse local table:
Notes
- When querying an External Catalog, read permissions are controlled by the corresponding STORAGE CONNECTION.
- Data in an External Catalog is not stored locally in the Lakehouse. Each query accesses the external data source over the network, so be mindful of network latency and access costs.
- To list available Catalogs, use
SHOW CATALOGS; to view tables within a Schema, useSHOW TABLES IN catalog_name.schema_name.
