DE Mastery GitHub

Streamhouse · STH-07

Serving layer — OLAP on the streamhouse

From your world. Athena/Redshift serving marts: a dashboard reads a small pre-aggregated table, not the raw fact

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz STH-07.

1A dashboard tile on a streaming revenue mart must answer in about a second. What is the standard serving-layer design?
2You must serve the current state of a Paimon partial-update primary-key table. Which read do you use?
3Why is a query plan (EXPLAIN) a better proof of serving performance than wall-clock time?
4A streaming dashboard shows roughly 50% more revenue than a nightly batch rebuild of the same events. What is the most likely cause?
5The iceberg_scan of DuckDB cannot open an Iceberg table that the Flink hadoop catalog wrote. What is the recommended workaround in this stack?
6Which situations argue AGAINST building a pre-aggregated serving rollup? (select all) (select all that apply)
7What does pruning (predicate pushdown) give a serving query over a columnar rollup?