---
title: "ClickHouse now writes Apache Iceberg tables to Microsoft OneLake"
description: "ClickHouse previously wrote Iceberg tables to object storage without catalog registration, limiting their discoverability. Now it writes Iceberg tables directly to Microsoft OneLake, registering in the catalog via Iceberg REST Table APIs and securing with OneLake Security. Use cases include AI agents monitoring order data and publishing real-time anomaly detection results to OneLake, and applications writing directly via ClickHouse without a separate ingestion layer. The connection uses the DataLakeCatalog engine with catalog_type=‘onelake’, warehouse parameter combining workspace and lakehouse IDs, and Microsoft Entra ID service principal authentication; writing uses standard INSERT INTO syntax with backtick-quoted namespace.table names. OneLake automatically syncs Iceberg and Delta Lake formats, provides governance with lineage tracking and data protection, and its security APIs are opening to third-party engines; this is the first catalog to support writes from ClickHouse, with more catalogs planned."
---

# ClickHouse now writes Apache Iceberg tables to Microsoft OneLake

[Clickhouse](https://yomu.fyi/company/clickhouse) · Sep 29, 2026

**Type:** Announcement

## Summary

ClickHouse previously wrote Iceberg tables to object storage without catalog registration, limiting their discoverability. Now it writes Iceberg tables directly to Microsoft OneLake, registering in the catalog via Iceberg REST Table APIs and securing with OneLake Security. Use cases include AI agents monitoring order data and publishing real-time anomaly detection results to OneLake, and applications writing directly via ClickHouse without a separate ingestion layer. The connection uses the DataLakeCatalog engine with catalog\_type=‘onelake’, warehouse parameter combining workspace and lakehouse IDs, and Microsoft Entra ID service principal authentication; writing uses standard INSERT INTO syntax with backtick-quoted namespace.table names. OneLake automatically syncs Iceberg and Delta Lake formats, provides governance with lineage tracking and data protection, and its security APIs are opening to third-party engines; this is the first catalog to support writes from ClickHouse, with more catalogs planned.

## Approach / What changed

Using the DataLakeCatalog engine with catalog\_type=‘onelake’, warehouse parameter combining workspace and lakehouse IDs, and Microsoft Entra ID service principal authentication. Writing uses standard INSERT INTO syntax with backtick-quoted namespace.table names.

## Takeaways

- ClickHouse writes Iceberg tables to OneLake using the DataLakeCatalog engine and INSERT INTO syntax, with tables automatically registered in the OneLake catalog.
- OneLake automatically syncs Delta Lake and Iceberg formats, so data written as Iceberg is readable by Delta Lake tools.
- OneLake Security provides table, row, and column-level access controls, and Microsoft announced APIs are opening to third-party engines.

## FAQ

### How do I set up ClickHouse to write to OneLake?

Use CREATE DATABASE with DataLakeCatalog engine, set catalog\_type='onelake', provide workspace and lakehouse IDs in the warehouse parameter, and authenticate via Microsoft Entra ID service principal. Then use INSERT INTO to write.

### What are the use cases for writing to OneLake from ClickHouse?

AI agents can monitor order data, detect anomalies, and publish daily summary tables to OneLake for consumption by Power BI and Fabric Spark. Applications can write directly to OneLake via ClickHouse without a separate ingestion layer.

### Does OneLake support both Iceberg and Delta Lake?

Yes, OneLake keeps Delta Lake and Iceberg in sync automatically, so a table written in one format is readable in the other.

**Tags:** [Apache Iceberg](https://yomu.fyi/topic/apache-iceberg), [ClickHouse](https://yomu.fyi/topic/clickhouse), [Microsoft Fabric](https://yomu.fyi/topic/microsoft-fabric), [OneLake](https://yomu.fyi/topic/onelake)

- Source: [Clickhouse](https://clickhouse.com/blog/clickhouse-now-writes-to-microsoft-onelake)
- Source URL: https://clickhouse.com/blog/clickhouse-now-writes-to-microsoft-onelake
- Ingested by Yomu: 2026-09-29T09:00:07.997Z

[Read original post](https://clickhouse.com/blog/clickhouse-now-writes-to-microsoft-onelake)
