QuestionQ227

VerifiedCost & Performance Optimisation

A Delta table containing weather records is partitioned by date and has the following schema:

date DATE, device_id INT, temp FLOAT, latitude FLOAT, longitude FLOAT

To locate every record within the Arctic Circle, you run a query with the following filter:

latitude > 66.3

Which statement explains how the Delta engine determines which files to load?

Explanation

Delta Lake performs data skipping with per-file minimum and maximum column statistics recorded in the Delta transaction log. For latitude > 66.3, it reads the logged latitude ranges and skips files whose maximum latitude cannot meet the predicate.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!