Federation Query
Federation Query lets you query data in external data systems (Hive, Databricks, Iceberg, Snowflake, etc.) directly using standard SQL — no data migration or copying required. By creating an EXTERNAL CATALOG, you map an external data catalog into Lakehouse for unified cross-system queries.
Supported External Data Sources
| External System | Connection Method | Typical Use Case |
|---|---|---|
| Apache Hive | Hive Metastore URIs | In-place acceleration of existing Hive warehouses, replacing Presto/Trino |
| Databricks Unity Catalog | Databricks API | Cross-platform federated analytics without moving Databricks data |
| Iceberg REST Catalog | Iceberg REST API | Query any data lake compatible with the Iceberg REST protocol |
| Snowflake Open Catalog | Iceberg REST API + OAuth | Access Iceberg tables managed by Snowflake |
Core Concepts
External Catalog is the entry point for federation queries. It maps the metadata catalog of an external data system into Lakehouse, accessed using three-level naming: catalog.schema.table.
External Schema is an alternative approach that mounts an external Hive database into the current workspace, using two-level naming schema.table. It is better suited for integrating a Hive database into an existing workspace.
Selection guide: External Catalog vs External Schema
Quick Start
External Catalog depends on a pre-created Catalog Connection (Storage Connection → Catalog Connection → External Catalog). For the complete configuration steps, see the External Object User Guide.
Once configured, use standard SQL to query:
This Section
| Page | Description |
|---|---|
| External Object User Guide | Complete operations for creating, querying, and managing External Catalog / Schema / Table |
| Query Snowflake OpenCatalog Iceberg Tables | Federated queries on Snowflake-managed Iceberg data via Iceberg REST API |
| Databricks Cross-Platform Data Federation | Best practices for cross-platform federation between Databricks Unity Catalog and Singdata Lakehouse |
Related Documentation
- External Catalog Overview — Feature introduction, supported data sources, permission details
- External Catalog Federation Query Guide — Detailed operation examples and architecture principles
- Create External Catalog — DDL syntax reference
- Create Hive Catalog — Hive connection configuration details
- In-Place Lake Acceleration Guide — Complete guide for replacing Spark/Hive and Presto/Trino without moving data
