02 Ingest sales and accelerate queries
Facilitation and answers for ingest sales and accelerate queries.
Facilitate
Time: 30 minutes.
Verify the district/SKU correctness query, then compare the manual chain-wide sums using elapsed time and rows/bytes read. Keep the feed running during the query comparison.
Follow the learner actions against the same Cloud environment.
Expected explanation
An incremental MV processes inserted blocks. Backfill handles older rows. Aggregate states combine across parts; uniqExactMerge avoids double-counting transaction IDs. A fixed exclusive cutoff keeps raw and aggregate populations identical.
Watch for
The writer automatically targets 100,000 transactions/minute for two business minutes and then 10,000/minute, with a 180-business-minute duration. Avoid a continuous high-rate run: it exhausts finite stock. Restarts resume the persisted clock, so the burst does not repeat.
For another workshop run, stop the writer and use retail-initialize --new-run. This retains history, aggregates, and prior run evidence.
The demand reduction and its 15-business-minute observation window are in Module 03. Waiting for CDC is an evidence state. Requested throughput is not observed throughput; report the actual delivered rate.
Use recovery guidance outside the primary learner path.