stb build.
Prerequisites
1. Install StreamBuild
2. Start ClickHouse
3. Create the project
quickstart/streambuild_project.toml:
[settings].
quickstart/sources/orders.yml:
quickstart/pipelines/orders/pipeline.yml:
quickstart/pipelines/orders/order_totals.sql:
4. Discover and compile
quickstart/target/manifest.json,
quickstart/target/streambuild_dag.json, and the generated SQL under
quickstart/target/compiled/.
5. Plan and build
y. The build preserves orders_input, creates
tbl__order_totals and mv__order_totals, then replays retained rows through the model.
Replay uses an inclusive cutoff and is intentionally at least once around that boundary. Choose
model SQL and ClickHouse engines that tolerate duplicate delivery where required.

