QuestionQ93

VerifiedData Ingestion & Acquisition

A data engineer is building a job to download multiple PDF files from a third-party REST API endpoint by specifying different report types. The REST API is slow and has intermittent errors, so the engineer wants to track every download activity to identify failures and retry partially, while delivering scalable throughput. The engineer must download ten report types, and the list may change over time.

How should the data engineer accomplish this?

Explanation

A Databricks For each task iterates over an input list and executes a nested task separately for each report type. Independent iterations can run concurrently, task-iteration history provides per-download visibility, and retries can be configured for the nested task. This preserves partial-failure isolation and makes the report-type list configurable without creating ten fixed tasks or placing the loop inside one notebook.

Learn more

Community Discussion

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