---
title: "Integrating the Rust Delta Kernel into ClickHouse"
description: "ClickHouse replaced its hand-written Delta Lake protocol implementation with the Rust Delta Kernel (delta-kernel-rs)."
url: "https://swe.quest/articles/integrating-the-rust-delta-kernel-into-clickhouse-4dfcdd8e64024cda"
canonical: "https://clickhouse.com/blog/integrating-rust-delta-kernel"
source: "ClickHouse"
published: "2026-05-22"
difficulty: "hard"
kind: "Case study"
reading_minutes: 17
tags: ["analytics","rust","c-cpp","build-systems","data-pipelines"]
---

# Integrating the Rust Delta Kernel into ClickHouse

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-05-22, 17 min read, Case study. Original: [https://clickhouse.com/blog/integrating-rust-delta-kernel](https://clickhouse.com/blog/integrating-rust-delta-kernel)

## Summary

ClickHouse replaced its hand-written Delta Lake protocol implementation with the Rust Delta Kernel (delta-kernel-rs). The kernel takes over transaction log parsing, snapshot resolution and data skipping, while ClickHouse keeps its own optimized Parquet reader through the kernel's Engine APIs. Adopting it brought writes, schema evolution via logical/physical schema mapping, time travel, Change Data Feed (exposed in 25.12 through snapshot version settings), and partition and statistics pruning. Embedding a Rust library in ClickHouse's dependency-free C++ binary required nightly Rust for sanitizer builds, crates vendored with cargo-local-registry to avoid network fetch failures, and building the kernel as its own workspace.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Rust](https://swe.quest/tags/rust.md) (Languages)
- [C & C++](https://swe.quest/tags/c-cpp.md) (Languages)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- open table formats
- Parquet
- Cargo and CMake builds
- C++/Rust FFI basics ([easy posts on C & C++](https://swe.quest/tags/c-cpp.md?difficulty=easy))

## Keywords

ClickHouse, Delta Lake, delta-kernel-rs, Delta Kernel, Change Data Feed, cargo-local-registry, Corrosion, Parquet

## Related posts

- [How to use Rust in ClickHouse: avoiding a full rewrite](https://swe.quest/articles/how-to-use-rust-in-clickhouse-avoiding-a-full-rewrite-e470754e07a213d4.md): ClickHouse · 2025-12-17 · Medium · 13 min read · Rust, C & C++, Build systems, Refactoring & migrations, Testing
  ClickHouse, a 1.5M-line C++ analytic database, is adopting Rust incrementally rather than rewriting.
- [A Year of Rust in ClickHouse](https://swe.quest/articles/a-year-of-rust-in-clickhouse-fadc1c7501c80398.md): ClickHouse · 2025-04-01 · Medium · 12 min read · Rust, C & C++, Build systems, Testing, Supply chain security
  ClickHouse added Rust to its C++ codebase as an option for new components rather than a rewrite, starting with BLAKE3, then skim for clickhouse-client history, PRQL as a switchable query dialect, and Databricks' delta-kernel-rs replacing a sketchy C++ Delta Lake implementation.
- [Consuming the Delta Lake Change Data Feed for CDC](https://swe.quest/articles/consuming-the-delta-lake-change-data-feed-for-cdc-a3df7811b1c94f79.md): ClickHouse · 2025-08-19 · Medium · 16 min read · Event-driven architecture, Data pipelines, Analytics & OLAP, Storage engines
  Delta Lake's Change Data Feed (CDF) can drive CDC into ClickHouse by reading row-level change events reconstructed from the \_delta\_log transaction log and the \_change\_data Parquet files.
- [ClickHouse is data lake ready](https://swe.quest/articles/clickhouse-is-data-lake-ready-bebd3b2969b76478.md): ClickHouse · 2026-03-25 · Medium · 13 min read · Analytics & OLAP, Data pipelines, SQL, Query engines
  ClickHouse now queries Apache Iceberg and Delta Lake tables in place on S3, GCS and Azure, either directly or through catalogs such as AWS Glue, Unity, Polaris, BigLake, OneLake and Iceberg REST.
- [Climbing the Iceberg with ClickHouse](https://swe.quest/articles/climbing-the-iceberg-with-clickhouse-ce9c336aa71545a5.md): ClickHouse · 2025-02-19 · Medium · 12 min read · Analytics & OLAP, Data pipelines, Query engines
  ClickHouse fits into data lake and lakehouse architectures in three common ways: incrementally loading object-storage or Iceberg data via s3cluster/S3Queue (or double-writing from Kafka), running ad-hoc and federated queries against Iceberg, Delta and Hudi tables plus PostgreSQL, MySQL and MongoDB, and frequently querying shared lakehouse datasets.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
