ClickHouse

Status: Full
Default port: 9000 native, 8124 HTTP
Compared against: ClickHouse 24.8

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

248/248: same connection 230, second connection 12, restart 6.

Feature matrix 44/44. Uptrace runs on it.

(source: README.md, Wire scorecard)

Connect

clickhouse-client --host localhost --port 9000

This is an ordinary client command for illustration, not taken from the test suites. The exact client settings the suites use are in the scripts listed below.

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • Float division by zero errors instead of returning inf.
  • toTypeName is unsupported; unknown functions return NULL instead of error 46.
  • Stored Array columns are held as text (has(), ARRAY JOIN and the array functions read them correctly since 2026-11-30).
  • WITH TOTALS with HAVING; xxHash64, cityHash64 and sipHash64 are missing.
  • Not benchmarked yet.

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):

make prove ARGS='--wires clickhouse'

This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)

By hand:

python test-scripts/diff-clickhouse/diff_clickhouse.py
python test-scripts/wire-matrix/clickhouse_matrix.py

The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.

Proof files

  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/clickhouse-query-second-connection-restart.txt
  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/clickhouse-feature-matrix.txt
  • docs/status/2026-11-30-clickhouse-arrays-rollup.md