Platform· Case study 09
Incremental ingestion for Rill’s ClickHouse driver
Designed the incremental ingestion strategy for the ClickHouse driver in Rill, an open-source real-time BI platform, which became the foundation for ClickHouse data modeling in Rill.
Open source
shipped in rilldata/rill
Architecture at a glance
- Partition-aware loads
- Idempotent models
- Rill ClickHouse driver
01 The problem
ClickHouse models in Rill needed to refresh incrementally at scale without double-counting when loads were re-run or backfilled.
02 What I built
- 1Incremental, partition-aware loads for ClickHouse models in Rill.
- 2Idempotent semantics so re-runs and backfills never double-count.
- 3A design that became the foundation for ClickHouse data modeling in Rill.
03 Impact
ClickHouse models in Rill refresh incrementally and safely, and the approach is available to every Rill user through the open-source project.
Related case studies
- PlatformSelf-hosted ClickHouse platform on Kubernetes14 production ClickHouse clusters
- AIAI-assisted ClickHouse optimization with MCPMulti-TB single columns found in one audit pass
- MigrationWarehouse & lakehouse to ClickHouse, with reverse ETL and integrity checksEvery hop reconciled for drift, hourly