SpinTheMic
Pro

Interview practice question

Tracking product price history

Data Engineering · dbt · Beginner

The product table in the source only keeps the current price, but the business wants to know historical prices. How do you solve it?

What a strong answer covers

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

  • Use a dbt snapshot on the product source.
  • Choose timestamp strategy if there's a reliable updated_at, else check on price columns.
  • Schedule it often enough to catch changes.
  • History starts only from when the snapshot begins.
  • Build a price history model on top of the snapshot.
Practise this topic

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

See all topics