Skip to main content
The DataLakeCatalog database engine enables you to connect ClickHouse to external data catalogs and query open table format data without the need for data duplication. This transforms ClickHouse into a powerful query engine that works seamlessly with your existing data lake infrastructure.

Supported catalogs

The DataLakeCatalog engine supports the following data catalogs:
  • AWS Glue Catalog - For Iceberg tables in AWS environments
  • Databricks Unity Catalog - For Delta Lake and Iceberg tables
  • Hive Metastore - Traditional Hadoop ecosystem catalog
  • REST Catalogs - Any catalog supporting the Iceberg REST specification

Creating a database

You will need to enable the relevant settings below to use the DataLakeCatalog engine:
Databases with the DataLakeCatalog engine can be created using the following syntax:
The following settings are supported:

Examples

See below sections for examples of using the DataLakeCatalog engine:
  • Unity Catalog
  • Unity Catalog with Delta Lake and Iceberg tables With use_unity_catalog_v2 = 1, the unity catalog serves both Delta Lake and Iceberg tables, detecting the format of each table.
catalog_credential accepts an OAuth service principal as <client_id>:<client_secret>, a personal access token (dapi...), or a pre-obtained OAuth token.
  • Glue Catalog
  • OneLake Catalog Can be used by enabling allow_database_iceberg.
To authenticate without sharing a client secret, set onelake_bearer_token to a pre-obtained bearer token (scoped to https://storage.azure.com) instead of onelake_client_id/onelake_client_secret. ClickHouse does not refresh the token, so the database must be recreated after it expires.
Last modified on September 25, 2026