Mart
The mart layer is what BI / dashboards / strategy back-tests query. Two wide tables, both materialised as ClickHouse ReplacingMergeTree partitioned by event_partition_key, built incrementally.
| Mart | Grain |
|---|---|
| inplay | one row per (event, match minute) |
| matches | one row per finished event — joins every matches_* model |