QuestionQ179

VerifiedData Ingestion & Acquisition

A data engineer is creating a streaming data pipeline that ingests JSON files from cloud storage into a Delta Lake table. The pipeline must incrementally process files, automatically handle schema evolution, guarantee exactly-once processing, and minimize manual infrastructure management.

How should the data engineer meet these requirements?

Explanation

Auto Loader provides incremental cloud-storage file ingestion and supports inferred-schema evolution through cloudFiles.schemaEvolutionMode=addNewColumns. Lakeflow Spark Declarative Pipelines is the recommended managed production pattern for Auto Loader and automatically manages pipeline operational state such as schema-location and checkpoint information, supporting reliable streaming writes to Delta tables with less manual configuration.

Learn more

Community Discussion

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