SpinTheMic
Pro

Interview practice question

Gold aggregates rebuilt fully every hour

Data Engineering · Databricks · Intermediate

A gold aggregate table is rebuilt from the full silver table every hour, which is slow and expensive. How do you make it incremental?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Enable Change Data Feed on the silver table.
  • Read only changes since the last processed version.
  • Recompute aggregates only for affected keys or dates.
  • MERGE results into gold.
  • Or use a materialized view that refreshes incrementally.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics