All jobs / Data engineer / Data Lakes

Data engineer interview question · 1–3 years

Two Parquet datasets hold the same rows. A filter on order_date reads a tenth of one and nearly all of the other. Why?

The strongest answer

Parquet keeps min/max statistics per row group; data written sorted or partitioned by order_date gives each row group a narrow range the reader can skip, while random order makes every row group cover every date

Why it works

Right — predicate pushdown works through row-group statistics; layout (sort or partition by the filter column) is what makes the statistics selective.

What a good answer covers

Answers that fall short

Who gets asked this

More Data Lakes questions