Data WarehousingCloud
Prerequisites
Before starting this Quickstart, you should have: To successfully follow this guide, you’ll need the following:- A running ClickHouse Cloud service. If you don’t have one yet, complete the ClickHouse Cloud quick start first.
- Access to an Iceberg-compatible data lake
- Data Lake Catalog (URL + credentials)
- Depending type of data lake catalog: Object storage credentials (for example, S3-compatible storage)
- At least one existing Iceberg table registered in the catalog
What you’ll build
In this Quickstart, you will:- Connect to a Iceberg REST Catalog in ClickHouse Cloud
- Create a ClickHouse database backed by that catalog
- Query an existing Iceberg table directly from ClickHouse
- Verify that ClickHouse is reading data from your data lake
Create a DataLakeCatalog connection
In this step, you will connect to your Data Lake Catalog in ClickHouse Cloud.
- Open your ClickHouse Cloud service.
- Navigate to Data Sources â Connect to your Data Lake Catalog.
- Select your data catalog in dropdown.
-
Fill out the form with your credential and connection information.
For Unity Catalog, enter in:
- Open Table Format (Iceberg)
- ClickHouse Database name. This will be the name of your ClickHouse database you will query your iceberg tables from.
- Workspace ID
- Databricks catalog name
- Client ID
- Client Secret
- Save the catalog. You should now see the Data Catalog load into your Data Sources page with the number of tables available on the database.
Query Iceberg Table
In this step, you will query an Iceberg table from your Data Catalog.
- Either by clicking
Show TablesorSQL Console, you will land in the SQL console with your new database connected to your data lake materialized. If you go viaSQL Console, change the database dropdown to your Iceberg database. - You should see one or more Iceberg tables listed in your filetree. Run this query:
- ClickHouse will return the rows from your Iceberg table.
