Noos
PT EN
RAN-DBDEA-00140
Ranvier · DBDEA

Exam DBDEA Topics: transformation Difficulty: easy

Every dashboard query against catalog.sales.orders derives the order date by calling to_date(order_ts) — an expression repeated across dozens of reports over billions of rows. The team wants the derived value computed once, at write time, and physically stored as a column of the table. Which Delta Lake feature provides this?

Options (Reading Mode) Click to filter discussion →
  1. A. A view that computes to_date(order_ts) on every read of the underlying table
  2. B. A trigger that fires AFTER INSERT on the table and updates the derived column
  3. C. A dashboard-level expression, so that the calculation stays out of the storage layer
  4. D. A generated column: order_date DATE GENERATED ALWAYS AS (CAST(order_ts AS DATE))
Reveal answer

Correct answer: A generated column: order_date DATE GENERATED ALWAYS AS (CAST(order_ts AS DATE))

Reference: https://docs.databricks.com/aws/en/delta/

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (D): A generated column: order_date DATE GENERATED ALWAYS AS (CAST(order_ts AS DATE))

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/delta/
Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.