Interview practice question
Daily job reprocessing all history
Data Engineering · Spark · Intermediate
A Spark job reads the entire 3-year history every day to produce yesterday's output. How do you make it incremental?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Read only new or changed data using partition filters or watermarks.
- Use Delta Change Data Feed or Iceberg incremental reads where available.
- Merge results into the target instead of rebuilding.
- Use Structured Streaming with availableNow trigger for incremental batch.
- Keep the ability to backfill a date range.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.