Skip to main content
ClickHouse can attach an Iceberg REST catalog as a database and query its tables in place, with no copy. Attach your oleander catalog and ClickHouse becomes a low-latency serving layer over the lake. This connection serves the player and goalie cards in The Puck Is Cylindrical: Spark builds the expected-goals, RAPM, and WAR tables in the nhl_2526 namespace, and ClickHouse reads them straight from the catalog when the page loads. ClickHouse Cloud SQL console querying nhl_2526.skater_war through the oleander_catalog database

What you need

The organization ID is both the OAuth client ID and the catalog warehouse name. The API key is the OAuth client secret.

Setup

Run this in ClickHouse, replacing the two placeholders:
Works on ClickHouse Cloud and self-hosted ClickHouse alike.

Querying the data

ClickHouse flattens namespace.table into a single quoted name:
Every table in your catalog is visible, including anything written by Streamkap, Spark, or SQL in the lake.