QuestionQ23

VerifiedDevelopment and Ingestion

A data engineer is designing a data pipeline. The source system generates files in a shared directory that is also used by other processes. As a result, the files should be kept as is and will accumulate in the directory. The data engineer needs to identify which files are new since the previous run in the pipeline, and set up the pipeline to only ingest those new files with each run.

Which of the following tools can the data engineer use to solve this problem?

Explanation

Auto Loader is a Databricks feature that uses the cloudFiles source to automatically detect and ingest new files as they arrive in cloud storage. It maintains state to track which files have been processed, allowing it to incrementally consume only new files with each run without reprocessing old data, perfectly addressing the scenario of identifying new files in an accumulating directory.

Community Discussion

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