All jobs / Data engineer / Data Warehousing

Data engineer interview question · 0–1 years

A cloud warehouse such as Snowflake or BigQuery does not rely on B-tree indexes on fact tables the way an OLTP database does. How do queries over a billion rows still come back quickly?

The strongest answer

Columnar storage reads only the columns asked for, and blocks carry min/max metadata so a filter skips most of them; partitioning and clustering by the filter columns make that skipping effective

Why it works

Exactly — column pruning plus block-level metadata pruning is the engine; partitioning and clustering exist to make the pruning bite.

What a good answer covers

Answers that fall short

Who gets asked this

More Data Warehousing questions