Skip to content

Batch, streaming, and incremental loading patterns, and where the data comes from

Databricks supports three core ingestion patterns: one-time batch loads, continuous/triggered streaming with Structured Streaming, and incremental batch loads that pick up only new files since the last run. Local/cloud file ingestion is typically handled via Auto Loader (cloudFiles) or COPY INTO, while Lakeflow Connect provides standard connectors (for common SaaS/file sources) and managed connectors (fully hosted ingestion pipelines) for scalable, low-maintenance data import.

1 · Learn the must-know

  • Auto Loader (cloudFiles format) incrementally and idempotently processes new files landing in cloud storage, tracking processed files via checkpointing so files are not reprocessed.
  • COPY INTO is a SQL command best suited for idempotent, incremental batch loading of files into a Delta table when file counts are moderate (thousands, not millions); Auto Loader scales better for very large or continuously arriving file volumes.
  • Streaming ingestion in Databricks uses Structured Streaming with triggers: trigger(availableNow=True) processes all currently available data once then stops (micro-batch style incremental processing), while continuous/fixed-interval triggers keep the stream running.
  • Lakeflow Connect standard connectors provide simplified, UI/config-driven ingestion from common external sources (e.g., cloud storage, message buses) without hand-written streaming code.
  • Lakeflow Connect managed connectors are fully managed, Databricks-hosted ingestion pipelines for enterprise applications and databases (e.g., Salesforce, SQL Server, Workday) that handle scheduling, schema evolution, and incremental refresh automatically.
  • Schema inference and evolution (rescued data column) are key gotchas with Auto Loader: unexpected or new columns are captured in a rescued data column rather than causing job failure, unless schema enforcement is explicitly configured.

2 · Check your understanding

Check this objectiveFree · always available

A team wants to ingest data from a supported SaaS application (such as Salesforce) directly into Unity Catalog tables, with Databricks handling schema detection, incremental extraction, and orchestration of ongoing syncs automatically. Which Lakeflow Connect option should they use?

Your objective map0 tried · 0 answered correctly · 33 untouched

What you have tried across Databricks DEA's objectives, not a readiness score.

Databricks Intelligence Platform6% of the exam0 of 2 tried
Data Ingestion and Loading21% of the exam0 of 7 tried
Data Transformation and Modeling22% of the exam0 of 7 tried
Working with Lakeflow Jobs16% of the exam0 of 4 tried
Implementing CI/CD10% of the exam0 of 4 tried
Troubleshooting, Monitoring, and Optimization10% of the exam0 of 5 tried
Governance and Security15% of the exam0 of 4 tried

3 · Keep going