Skip to content

chore: update example - #96

Merged
hasyimibhar merged 2 commits into
mainfrom
chore/smoke-example
Oct 6, 2026
Merged

hasyimibhar merged 2 commits into
mainfrom
chore/smoke-example

Conversation

@hasyimibhar

@hasyimibhar hasyimibhar commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

It was outdated and using an old ClickHouse version that did not support equality delete.

example/smoke runs pg2iceberg against real Postgres, the Iceberg REST
catalog and MinIO under a mixed workload: simulate.py's multi-table
transactions plus deletes, insert/update/delete churn in one transaction,
rollbacks, key changes, TOAST, a partitioned DEFAULT-identity table,
bulk transactions, TRUNCATE and a dropped and re-added column, with
external compactions, a SIGKILL restart and snapshot expiry alongside.
It then compares Postgres with ClickHouse row by row and checks
ClickHouse's count(), exiting non-zero on any difference.

ClickHouse 26.2 → 26.8 in example/single and the e2e stack. 26.2's
trivial count() answered from the snapshot summary, ignoring equality
deletes; 26.8 counts from the manifests and scans when deletes are live.
The e2e cases' notes that 26.2 didn't apply equality deletes were stale
(their reference outputs show it did) and are gone.

example/single's simulator mounted scripts/requirements.txt, which
doesn't exist; it installs psycopg2-binary directly now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hasyimibhar hasyimibhar changed the title chore: smoke-test example; ClickHouse 26.8 chore: update example Oct 6, 2026
example/single is now the smoke-test stack: the mixed workload, run.sh
and the Postgres-vs-ClickHouse comparison, with the rideshare schema,
seed, simulator, iceberg-rest image and ClickHouse config moved in from
the old demo. Its Grafana/Prometheus setup is gone. The README
quickstart brings the stack up and starts the workload; ./run.sh runs
the full smoke test.

example/blue-green built `../../../single/iceberg-rest`, outside the
repo; it builds `../single/iceberg-rest` now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hasyimibhar
hasyimibhar merged commit 59b2100 into main Oct 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant