---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&source=clickhouse&tag=python"
---

# Posts

Filtered by topics: Python, source: ClickHouse.

Posts 1–26 of 26, page 1 of 1, newest first.

## 2026-11-24

- [Durable and auditable workflows with DBOS and ClickHouse Managed Postgres](https://swe.quest/articles/durable-and-auditable-workflows-with-dbos-and-clickhouse-managed-postgres-84b2cf91df44a544.md): ClickHouse · 2026-11-24 · Medium · 6 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Scheduling, Python
  DBOS, an open-source Postgres-native durable execution library, stores workflow and step checkpoints, queues and schedules in Postgres so crashed processes resume from the last completed step without a separate orchestrator.

## 2026-09-28

- [chDB Durable Layer for agent memory](https://swe.quest/articles/chdb-durable-layer-for-agent-memory-f44e23c2b52592d1.md): ClickHouse · 2026-09-28 · Medium · 14 min read · AI agents, Analytics & OLAP, Storage systems, Replication, Python
  chDB Durable Layer wraps the embedded chDB (ClickHouse) OLAP engine so a local MergeTree working copy can be published to object storage you own (S3, GCS, Azure) and recovered on another host.

## 2026-09-17

- [The official ClickHouse provider for Apache Airflow is now available](https://swe.quest/articles/the-official-clickhouse-provider-for-apache-airflow-is-now-available-0798cbf24bb9fe40.md): ClickHouse · 2026-09-17 · Medium · 6 min read · Data pipelines, Analytics & OLAP, Python
  Apache Airflow now ships an official upstream ClickHouse provider, apache-airflow-providers-clickhousedb, built on the clickhouse-connect Python client over HTTP(S).

## 2026-05-30

- [Executable UDFs are now in public beta on ClickHouse Cloud](https://swe.quest/articles/executable-udfs-are-now-in-public-beta-on-clickhouse-cloud-89bd8753f4dda600.md): ClickHouse · 2026-05-30 · Medium · 14 min read · Analytics & OLAP, Inference & serving, Machine learning, SQL, Python
  Executable UDFs are in public beta on ClickHouse Cloud: you upload a zipped Python function with its model files, and ClickHouse runs it in a pool of long-lived sandboxed processes that can be called from SQL, including inside materialized views.

## 2026-03-16

- [Designing the new async-native ClickHouse Python client](https://swe.quest/articles/designing-the-new-async-native-clickhouse-python-client-686db4668ab2ae45.md): ClickHouse · 2026-03-16 · Medium · 12 min read · Python, Concurrency, Performance engineering, Databases
  The new async-native clickhouse-connect client replaces the legacy thread-pool wrapper with aiohttp for network I/O and a half-sync/half-async design: an async producer streams response chunks into a bounded queue (10 chunks of up to 1MB) while the existing synchronous Native-format parser consumes them in an executor thread, with the same queue reversed for inserts.

## 2026-03-11

- [Announcing chDB 4: write Pandas, run ClickHouse, now on Hex](https://swe.quest/articles/announcing-chdb-4-write-pandas-run-clickhouse-now-on-hex-3e3042b3b93d1f1e.md): ClickHouse · 2026-03-11 · Medium · 11 min read · Analytics & OLAP, Query engines, Python, Performance engineering
  chDB 4 adds DataStore, a Pandas-compatible API that records operations lazily as a chain of LazyOps, then compiles them into ClickHouse SQL with filter pushdown, column pruning and limit propagation, executing in-process on the ClickHouse engine.

## 2026-01-09

- [The Journey to Zero-Copy: How chDB Became the Fastest SQL Engine on Pandas DataFrame](https://swe.quest/articles/the-journey-to-zero-copy-how-chdb-became-the-fastest-sql-engine-on-pandas-b4ab858523515f13.md): ClickHouse · 2026-01-09 · Medium · 8 min read · Python, Performance engineering, Analytics & OLAP, Query engines
  chDB, ClickHouse embedded as a Python library, removed the four serialization steps that made every v1 query take over 100ms by reading Pandas DataFrames in place.

## 2025-11-19

- [chDB Kernel Upgrade Journey: Upgrading ClickHouse to v25.8.2.29](https://swe.quest/articles/chdb-kernel-upgrade-journey-upgrading-clickhouse-to-v25-8-2-29-3cca5f2ad115d794.md): ClickHouse · 2025-11-19 · Hard · 16 min read · Memory management, C & C++, Python, Analytics & OLAP, Performance engineering
  Upgrading chDB's embedded ClickHouse kernel from v25.5 to v25.8.2.29 surfaced allocator conflicts rooted in chDB's dual-library design: a stable-ABI \`\_chdb.abi3.so\` holding the ~120MB engine plus small per-Python-version pybind11 binding libraries.

## 2025-10-27

- [Tracing OpenAI agents with ClickStack](https://swe.quest/articles/tracing-openai-agents-with-clickstack-27a1630cee998ca8.md): ClickHouse · 2025-10-27 · Medium · 13 min read · Observability, AI agents, Python, Analytics & OLAP
  OpenAI's agents SDK has built-in tracing that can be redirected from OpenAI's hosted product to a custom TracingExporter.

## 2025-10-13

- [How to build AI agents with MCP: 12 framework comparison (2025)](https://swe.quest/articles/how-to-build-ai-agents-with-mcp-12-framework-comparison-2025-21cb351a1cc659e0.md): ClickHouse · 2025-10-13 · Medium · 27 min read · AI agents, LLMs, Python
  Twelve agent SDKs now support the Model Context Protocol: Claude Agent SDK, OpenAI Agents SDK, Microsoft Agent Framework, Google ADK, CrewAI, Upsonic, mcp-agent, Agno, DSPy, LangChain, LlamaIndex and PydanticAI.

## 2025-08-28

- [How to create reproducible ZIPs for AWS Lambda](https://swe.quest/articles/how-to-create-reproducible-zips-for-aws-lambda-0b8d5e6a7113fc44.md): ClickHouse · 2025-08-28 · Medium · 5 min read · Serverless, Build systems, Infrastructure as code, CI/CD, Python
  Deterministic ZIP artifacts for AWS Lambda let Terraform/OpenTofu skip redeploying unchanged functions on every \`tofu apply\`.

## 2025-08-27

- [Agentic BI in Slack: MCP-powered analytics and visualisations](https://swe.quest/articles/agentic-bi-in-slack-mcp-powered-analytics-and-visualisations-7d7452bde1510bc3.md): ClickHouse · 2025-08-27 · Medium · 7 min read · AI agents, Analytics & OLAP, LLMs, Python
  A Slack bot answers analytical questions by having an LLM query ClickHouse through MCP tools, and it now adds charts in about 50 lines of Python.

## 2025-08-21

- [Announcing the ClickHouse Connector for AWS Glue](https://swe.quest/articles/announcing-the-clickhouse-connector-for-aws-glue-d5eeaae1823b53a2.md): ClickHouse · 2025-08-21 · Medium · 12 min read · Data pipelines, Analytics & OLAP, Cloud platforms, Python
  ClickHouse has released an official connector for AWS Glue, available in the AWS Marketplace.

## 2025-07-23

- [Agentic analytics in Slack with ClickHouse, MCP, and PydanticAI](https://swe.quest/articles/agentic-analytics-in-slack-with-clickhouse-mcp-and-pydanticai-d12acfde3a87c76f.md): ClickHouse · 2025-07-23 · Medium · 8 min read · AI agents, Analytics & OLAP, Python, LLMs
  A Slack bot built with PydanticAI and the Anthropic API answers natural-language analytics questions by querying ClickHouse through the mcp-clickhouse MCP server.

## 2025-07-03

- [Analyzing Wimbledon tennis data with chDB](https://swe.quest/articles/analyzing-wimbledon-tennis-data-with-chdb-6a28f96019de015f.md): ClickHouse · 2025-07-03 · Medium · 8 min read · Analytics & OLAP, SQL, Testing, Python
  Tennis scoring logic can be encoded as ClickHouse SQL user-defined functions that compute how many points each player needs to win a match, then applied to Wimbledon point-by-point data to show Alcaraz was never close to losing his five-set first-round match against Fognini.

## 2025-06-05

- [Integrating with ClickHouse MCP](https://swe.quest/articles/integrating-with-clickhouse-mcp-1c5887029a6fb2f3.md): ClickHouse · 2025-06-05 · Medium · 7 min read · AI agents, LLMs, Python, Analytics & OLAP
  The open-source mcp-clickhouse server can be wired into five Python agent frameworks: Agno, DSPy, LangChain, LlamaIndex and PydanticAI.

## 2024-08-30

- [ClickPy reaches one trillion rows](https://swe.quest/articles/clickpy-reaches-one-trillion-rows-62072046dc562ee8.md): ClickHouse · 2024-08-30 · Medium · 6 min read · Analytics & OLAP, Data pipelines, SQL, Python
  ClickPy, a free open-source real-time analytics service for PyPI download statistics built on ClickHouse, has passed one trillion rows in its main downloads table.

## 2024-08-29

- [How we made querying Pandas DataFrames with chDB 87x faster](https://swe.quest/articles/how-we-made-querying-pandas-dataframes-with-chdb-87x-faster-1ee5b7d8017e769d.md): ClickHouse · 2024-08-29 · Medium · 8 min read · Python, Performance engineering, Query engines, Analytics & OLAP, C & C++
  chDB, the in-process embedded ClickHouse, sped up SQL queries over Pandas DataFrames 87x by replacing its original Parquet serialize/deserialize round-trip through file descriptors with a native Python table engine that reads Python objects directly.

## 2024-08-05

- [An introduction to Ibis](https://swe.quest/articles/an-introduction-to-ibis-8a6a34b40efccef2.md): ClickHouse · 2024-08-05 · Medium · 8 min read · Python, Analytics & OLAP, SQL
  Ibis is an open-source Python dataframe library that compiles lazy, composable relational expressions to SQL and runs them on 20+ backends, including ClickHouse.

## 2024-07-11

- [ClickHouse Release 24.6](https://swe.quest/articles/clickhouse-release-24-6-003c18b45227c882.md): ClickHouse · 2024-07-11 · Medium · 15 min read · Analytics & OLAP, Storage engines, Python, Performance engineering
  ClickHouse 24.6 adds an optimize\_row\_order setting for plain MergeTree tables.

## 2024-04-03

- [Training Machine Learning Models with ClickHouse](https://swe.quest/articles/training-machine-learning-models-with-clickhouse-fff12f2958d1827c.md): ClickHouse · 2024-04-03 · Medium · 25 min read · ML platforms, Analytics & OLAP, Machine learning, Python
  ClickHouse can serve as both the transformation engine and offline store in a virtual feature store, using the open-source Featureform as an orchestration layer.

## 2024-02-29

- [Building a Chatbot for Hacker News and Stack Overflow with LlamaIndex and ClickHouse](https://swe.quest/articles/building-a-chatbot-for-hacker-news-and-stack-overflow-with-llamaindex-and-8e7d236d6eb904ee.md): ClickHouse · 2024-02-29 · Medium · 23 min read · RAG & retrieval, Vector search, LLMs, Analytics & OLAP, Python
  HackBot is a chatbot that answers questions about developer opinions by combining text-to-SQL over the 2021 Stack Overflow survey with vector search over 28m embedded Hacker News comments, both stored in ClickHouse and orchestrated with LlamaIndex, OpenAI and Streamlit.

## 2023-11-15

- [Querying Pandas DataFrames with ClickHouse](https://swe.quest/articles/querying-pandas-dataframes-with-clickhouse-f6443dd364e0e7c9.md): ClickHouse · 2023-11-15 · Medium · 4 min read · Python, Analytics & OLAP, SQL
  chDB, an embedded Python library built on the ClickHouse engine, can run SQL directly against Pandas DataFrames through the chdb.dataframe module.

## 2023-09-29

- [chDB - A Rocket Engine on a Bicycle](https://swe.quest/articles/chdb-a-rocket-engine-on-a-bicycle-951148e84c12126b.md): ClickHouse · 2023-09-29 · Hard · 9 min read · Analytics & OLAP, Memory management, C & C++, Python, Performance engineering
  chDB embeds the ClickHouse engine as an in-process Python module instead of shelling out to the 500MB clickhouse-local binary, using WriteBufferFromVector, Python memoryview and Pybind11 for zero-copy result retrieval.

## 2023-09-14

- [Using ClickHouse UDFs to integrate with OpenAI models](https://swe.quest/articles/using-clickhouse-udfs-to-integrate-with-openai-models-798f9ca64f94924a.md): ClickHouse · 2023-09-14 · Medium · 17 min read · Analytics & OLAP, LLMs, SQL, Python
  ClickHouse executable user-defined functions can call the OpenAI chat completions API from SQL, adding sentiment labels or extracted entities to rows at insert or query time.

## 2023-08-31

- [Welcome, chDB](https://swe.quest/articles/welcome-chdb-80fea87c647d8ab8.md): ClickHouse · 2023-08-31 · Medium · 7 min read · Analytics & OLAP, Python, Databases, Open source
  chDB is a community-built embedded SQL OLAP engine that packages ClickHouse as an in-process Python module, similar in spirit to DuckDB, for local analytics, ETL and exploration without running a server.

Same list as RSS: [https://swe.quest/feed.xml?source=clickhouse&tag=python](https://swe.quest/feed.xml?source=clickhouse&tag=python). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
