All jobs / Data engineer / Data Warehousing

Data engineer interview question · 0–1 years

A fact table is queried by event_date. How do you store it?

The strongest answer

Partitioned (or clustered) on that date so a day filter can prune — I do not dump one giant unpartitioned heap “for simplicity”

Why it works

Exactly. Partition for the filter you run. Random and user-only partitions make a day scan a full read.

What a good answer covers

Answers that fall short

Who gets asked this

More Data Warehousing questions