Federation to ClickHouse
Query data from self-hosted or ClickHouse Cloud from Propel.
Federation to ClickHouse enables you to query your self-hosted or ClickHouse Cloud tables without syncing them to Propel.
Get started with Federation to ClickHouse
Step-by-step instructions to connect your ClickHouse server to Propel for federation.
Architecture
Federated ClickHouse Data Pools make queries directly to a table in your own ClickHouse and then serve the data via the SQL, API, or UI components.
Features
Federated ClickHouse Data Pools supports the following features:
Feature name | Supported | Notes |
---|---|---|
Read-through | ✅ | Reads through a ClickHouse table. The Propel user needs SELECT privileges. |
API configurable | ✅ | See Management API docs. |
Terraform configurable | ✅ | See Propel Terraform docs. |
How does the Federation to ClickHouse work?
Federated ClickHouse Data Pools query a table in your ClickHouse database using a set of credentials. The user provisioned for Propel must have at least SELECT
privileges that ensure real-time access to data.
Once created, a Federated ClickHouse Data Pool is queryable via SQL, the Query APIs, or Embeddable UI, like any other Data Pool.
Schema changes
When you make changes to the underlying table, you can pick up those changes by creating a new Data Pool.
Limitations
- Propel only supports connecting via the ClickHouse HTTPS interface.
Was this page helpful?