Bird
0
0

Given this incremental model snippet:

medium📝 Predict Output Q4 of 15
dbt - Incremental Models
Given this incremental model snippet:
SELECT id, event_date, value FROM source_table WHERE event_date <= current_date

What happens if late data with an older event_date arrives after the model runs?
AThe late data will be ignored unless the model is run again
BThe late data automatically updates existing records without rerun
CThe model throws an error due to date mismatch
DThe late data is appended without updating existing records
Step-by-Step Solution
Solution:
  1. Step 1: Understand incremental model behavior

    Incremental models only process new or changed data during runs.
  2. Step 2: Analyze late data arrival effect

    Late data arriving after run is ignored until next run processes it.
  3. Final Answer:

    The late data will be ignored unless the model is run again -> Option A
  4. Quick Check:

    Late data needs rerun to process = The late data will be ignored unless the model is run again [OK]
Quick Trick: Late data requires rerun to be processed [OK]
Common Mistakes:
MISTAKES
  • Assuming automatic update without rerun
  • Expecting errors on late data
  • Thinking late data appends without update

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes