QuestionQ73

VerifiedData Modelling

A junior data engineer is implementing logic for a Lakehouse table named silver_device_recordings. The source data contains 100 unique fields in a deeply nested JSON structure.

The silver_device_recordings table will be used downstream for highly selective joins on several fields, and the machine learning team will also use it to filter on a small set of relevant fields. In total, 15 fields have been identified for frequent filter and join logic.

The data engineer is determining the best way to handle these nested fields before declaring the table schema.

Which of the following correctly states information about Delta Lake and Databricks that could affect this decision?

Explanation

Delta Lake on Databricks collects per-file data-skipping statistics by default for the first 32 columns in a table schema. Query execution uses statistics such as minimum and maximum values to skip files that cannot satisfy selective predicates, so frequently filtered or joined fields should be considered when ordering or explicitly configuring statistics columns.

Learn more

Community Discussion

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