VAYULearn
Colour theme
Investigate a failure
VAYU Learn

Databricks & Lakehouse

Lakeflow Connect: Enterprise Ingestion in Production

DataForge Series: Databricks Data Engineer Associate - Part 5 of 16

Databricks & LakehouseData Architecture & Reliability

The sync ran. The job completed. Green checkmark in the Lakeflow Jobs UI.

You open the CRM dashboard. A sales rep flags that three accounts she closed last month are still showing as active. You check the Delta table. The records are there — status CLOSED, updated_at from four weeks ago. You check the Lakeflow Connect sync logs. Every sync shows SUCCESS. The connector has been running on schedule for six weeks.

The problem isn’t the sync. The problem is that “incremental sync” on your connector is tracking inserts and updates — not deletes. Those three accounts were hard-deleted from Salesforce five weeks ago. The connector never saw them disappear. They’re ghosts in your Delta table, invisible to the sync cursor, indistinguishable from valid data.

No errors. No warnings. Just wrong data, aging silently in production.

This is the operational reality of enterprise ingestion. The connector works. The sync runs. The data is incomplete. Understanding why requires understanding what Lakeflow Connect actually does — and what it deliberately doesn’t do.

Let’s go deep.


TL;DR

Lakeflow Connect is Databricks’ managed connector framework for ingesting data from enterprise SaaS systems and databases into Unity Catalog Delta tables. It handles authentication, rate limiting, schema mapping, and incremental sync internally — but “managed” doesn’t mean “invisible.” The failure modes are real, the operational boundaries matter, and the distinction between standard and managed connectors has direct SLA implications.

By the end of this article you’ll be able to:

  • Explain how sync cursors and CDC watermarks work internally and where each breaks
  • Identify the three categories of silent failure that Lakeflow Connect produces and how to detect them
  • Reason through standard vs managed connector ownership boundaries and what that means for your pipeline SLA
  • Match ingestion requirements to the correct connector configuration — incremental, full refresh, or CDC mode

Exam relevance: Lakeflow Connect appears in ~4–5 direct questions focused on connector selection, ingestion pattern matching, and source type identification. The exam tests whether you know when Lakeflow Connect is the right tool and when it isn’t — not just what it is.

Lakeflow Connect runtime internals: sync cursors manage incremental state, CDC propagates deletes that cursor-based sync misses, and rate-limit backoff delays ingestion without producing visible failures.

The Problem Lakeflow Connect Was Built to Solve

Part 4 covered Auto Loader and COPY INTO — both of which assume your data is already in object storage as files. Most enterprise data isn't.

Salesforce stores customer records behind a REST API with OAuth authentication, rate limits, and a proprietary query language (SOQL). Workday stores HR data behind a different API with different authentication and different pagination semantics. ServiceNow stores ticket data behind yet another API. SAP stores financial data in a proprietary system that requires certified connector software to access reliably.

Getting data out of each of these systems requires:

  • Authentication management (OAuth tokens, API keys, certificate rotation)
  • Pagination handling (most APIs return 200 records per page — a 2M row table requires 10,000 API calls)
  • Rate limit awareness (Salesforce limits API calls per 24-hour window — exceeding it blocks all access)
  • Change tracking (knowing which records changed since last sync without full table reads)
  • Schema mapping (source system field names rarely match Delta table conventions)
  • Error recovery (API timeouts, network failures, partial page loads mid-sync)

Building all of this from scratch for each source is a significant engineering investment. Maintaining it as source APIs evolve is a recurring tax.

Lakeflow Connect provides pre-built connectors that handle all of these concerns — so your engineering effort goes into what to do with the data after it lands, not how to get it out of the source.


Connector Architecture: What’s Actually Running

When you configure a Lakeflow Connect pipeline, you’re not just configuring credentials and a target table. You’re instantiating a managed process that runs on Databricks infrastructure and handles the full ingestion lifecycle.

Lakeflow Connect Pipeline Architecture:

┌─────────────────────────────────────────────────────────┐
│ Lakeflow Connect Runtime │
│ │
│ ┌─────────────┐ ┌──────────────┐ ┌─────────────┐ │
│ │ Auth │ │ Extractor │ │ Writer │ │
│ │ Manager │ │ Engine │ │ Engine │ │
│ │ │ │ │ │ │ │
│ │ OAuth token │ │ API calls │ │ Delta write │ │
│ │ refresh │ │ Pagination │ │ Schema map │ │
│ │ Cert mgmt │ │ Rate limit │ │ Type cast │ │
│ │ │ │ Retry/backoff│ │ │ │
│ └──────┬──────┘ └──────┬───────┘ └──────┬──────┘ │
│ │ │ │ │
│ └──────────────────┼────────────────────┘ │
│ │ │
│ ┌───────┴────────┐ │
│ │ Sync State │ │
│ │ Manager │ │
│ │ │ │
│ │ Cursor storage │ │
│ │ Watermark mgmt │ │
│ │ Checkpoint log │ │
│ └───────┬────────┘ │
└────────────────────────────┼────────────────────────────┘
│
▼
Unity Catalog Delta Tables
(Bronze landing zone)

The Sync State Manager is the operational core. It’s what separates Lakeflow Connect from a naive “call API, write to table” script. Every sync operation reads the current cursor state, advances it only after a successful commit, and rolls back on failure. This is what makes incremental sync reliable across restarts.


How Sync Cursors Actually Work

This is the mechanism that determines what data each sync run processes. Understanding it prevents the most common Lakeflow Connect misconfiguration patterns.

A sync cursor is a persistent watermark stored in Unity Catalog metadata that records the last successfully synced position for each connected object.

Walk through a complete sync lifecycle:

Salesforce Account object — cursor lifecycle:

── Initial sync ──────────────────────────────────────────
Cursor state: NULL (first run)
Action: Full load — fetch ALL Account records
API calls: GET /services/data/v58.0/query
?q=SELECT+Id,Name,Status+FROM+Account
→ 10,000 records across 50 paginated calls
Commit: Write 10,000 rows to prod.raw_sf.account
Cursor after: {
"last_sync_time": "2024-01-15T00:00:00Z",
"last_record_id": "0014X00001ZZZabc",
"records_synced": 10000
}

── Incremental sync run 2 ────────────────────────────────
Cursor state: {last_sync_time: "2024-01-15T00:00:00Z"}
Action: Fetch records WHERE SystemModstamp > cursor
API calls: GET /services/data/v58.0/query
?q=SELECT+Id,Name,Status+FROM+Account
+WHERE+SystemModstamp+>'2024-01-15T00:00:00Z'
→ 47 modified records
Commit: MERGE 47 rows into prod.raw_sf.account
Cursor after: {last_sync_time: "2024-01-16T00:00:00Z"}

── Connector failure mid-sync ────────────────────────────
Cursor state: {last_sync_time: "2024-01-16T00:00:00Z"}
Action: Fetching page 3 of 8 — network timeout
Delta commit: NOT executed (transaction incomplete)
Cursor: NOT advanced (no commit = no cursor update)
Next run: Replays from last committed cursor
→ re-fetches pages 1-8 from same position
→ Delta MERGE prevents replayed records from creating
duplicates when stable business keys are used.
Result: No data loss, no duplicates

The guarantee: cursor advancement is atomic with the Delta commit. The cursor only moves forward after data is successfully written. A failure at any point leaves the cursor at the last known-good position, enabling safe replay.

The cursor staleness problem:

Cursors track time, not record identity. If a source system’s clock drifts or records are backdated (an updated_at set to a past timestamp by an ETL correction job in the source), those records fall behind the cursor's watermark. The incremental sync never sees them. They exist in the source but not in your Delta table.

This is a class of silent failure that cursor-based sync cannot self-detect. The only defense is periodic full refresh runs that bypass the cursor and reload entire objects — scheduled weekly or monthly depending on source data quality.


CDC Mode: Capturing Deletes

This is the gap described in the opening scenario — and it’s the most important operational distinction in Lakeflow Connect configuration.

Incremental sync (default): tracks records by modification timestamp. Captures inserts and updates. Does not capture hard deletes.

CDC mode: captures the full change stream — inserts, updates, and deletes — by reading the source system’s change log rather than querying modified records.

Incremental sync vs CDC — what each captures:


Incremental sync vs CDC — what each captures:

Source system event Incremental sync CDC mode
─────────────────────────────────────────────────────────
INSERT new record ✓ captured ✓ captured
UPDATE existing record ✓ captured ✓ captured
Hard DELETE record ✗ NOT captured ✓ captured
Soft DELETE (status flag) ✓ captured ✓ captured
Backdate updated_at ✗ missed by cursor ✓ captured

With CDC mode enabled, deleted records land in the Delta table with a change type marker:

-- Delta table with CDC mode enabled
-- _change_type column added by Lakeflow Connect
SELECT id, name, status, _change_type, _commit_timestamp
FROM prod.raw_sf.account
ORDER BY _commit_timestamp DESC;

-- Results:
-- 0014X00001AAA Acme Corp ACTIVE INSERT 2024-01-10 09:00:00
-- 0014X00001BBB Beta Ltd CLOSED UPDATE 2024-01-14 14:30:00
-- 0014X00001CCC Gamma Inc NULL DELETE 2024-01-15 11:20:00

The DELETE record for Gamma Inc is now visible. Downstream Silver pipelines can use this to propagate the delete — either filtering out deleted records from Silver tables or maintaining a soft-delete flag.

Without CDC mode: Gamma Inc sits in your Silver table indefinitely, indistinguishable from active records. No error. No flag. Just stale data aging in production.

CDC mode requirements:

Not all source systems support CDC. Salesforce supports it via the Change Data Capture API. PostgreSQL supports it via logical replication. MySQL supports it via binlog. Systems without a native change log — some legacy databases, older SaaS APIs — cannot provide CDC and require full refresh as the delete propagation strategy.

# Lakeflow Connect — CDC configuration
pipeline_config = {
"source": "salesforce",
"objects": [
{
"name": "Account",
"sync_mode": "cdc",
"cdc_column": "_change_type",
"tombstone_retention_days": 30
},
{
"name": "Contact",
"sync_mode": "incremental", # CDC not needed for this object
}
]
}

Tombstone retention: CDC delete markers (_change_type = 'DELETE') are kept in the Delta table for the configured retention period. After retention expires, tombstones are removed during table maintenance. If your downstream Silver pipeline doesn't process deletes within the retention window, the delete event is gone — and the stale record in Silver becomes permanent.


Standard vs Managed Connectors: The Ownership Boundary

This distinction matters more operationally than it does architecturally.

Standard connectors are built, maintained, and SLA-covered by Databricks. When Salesforce releases API v59 and deprecates v55, Databricks updates the connector. When ServiceNow changes their authentication model, Databricks patches it. Your pipeline continues running without intervention.

Managed connectors (partner connectors) are built by third-party vendors — data integration companies, SaaS vendors, system integrators — and run within the Lakeflow Connect framework. The configuration UI is the same. The Unity Catalog integration is the same. The maintenance responsibility is not.

Ownership boundary — what each party is responsible for:

Ownership boundary — what each party is responsible for:

Standard Connector Managed Connector
────────────────────────────────────────────────────────────
API version updates Databricks Partner
Auth model changes Databricks Partner
Bug fixes Databricks Partner
SLA on connector uptime Databricks SLA Partner SLA
Schema mapping updates Databricks Partner
CDC support additions Databricks Partner
Your pipeline config You You
Your target schema You You
Your downstream logic You You

The production implication:

A critical pipeline running on a managed connector has its SLA partially owned by a third party. If the partner is slow to update their connector for a source API change, your pipeline breaks on their timeline, not yours.

Before committing a production pipeline to a managed connector, verify:

  • The partner’s connector update history (how quickly do they respond to API changes?)
  • Their SLA terms for connector availability
  • Whether a standard connector alternative exists for your source
  • What your fallback is if the connector goes offline

The exam angle: the distinction is tested through scenarios where a connector maintenance scenario is described and the question asks who is responsible for the fix. Standard connector = Databricks. Managed connector = partner.


Rate Limiting: What Happens When the API Pushes Back

Every enterprise API enforces rate limits. Lakeflow Connect handles them internally — but “handles internally” doesn’t mean “handles invisibly.”

Salesforce API limits (as a concrete example):

  • 15,000 API calls per 24-hour window (varies by license type)
  • Concurrent API call limits per connected app
  • Bulk API for large datasets (different limits, different semantics)

When Lakeflow Connect hits a rate limit:

Rate limit event sequence:

14:32:01 Connector: API call #14,847 — fetching Account page 74
14:32:03 Salesforce API: HTTP 429 Too Many Requests
Response header: Retry-After: 3847 (seconds until reset)

14:32:03 Lakeflow Connect: rate limit detected
Action: pause extraction, enter backoff state
Sync status in UI: RUNNING (not FAILED)

14:32:03 Current batch: partially fetched (pages 1-73 complete)
Delta commit: NOT executed (batch incomplete)
Cursor: NOT advanced (no commit)

15:17:50 Rate limit window resets (3847 seconds later)
15:17:50 Lakeflow Connect: resumes from page 74
15:18:12 Batch complete → Delta commit → cursor advances

What this looks like operationally:

A sync that normally completes in 10 minutes appears to run for over an hour. The Lakeflow Jobs UI shows the pipeline as RUNNING. No errors. No alerts. An engineer checking the UI sees an active sync and assumes it’s processing a large batch.

The sync eventually completes correctly — but the latency was invisible to anyone not watching the connector’s diagnostic logs.

How to detect rate limit events:

# Query Lakeflow Connect event log for rate limit events
SELECT
pipeline_id,
event_type,
event_message,
event_time
FROM system.lakeflow.pipeline_events
WHERE event_type = 'RATE_LIMIT'
AND event_time >= current_timestamp() - INTERVAL 24 HOURS
ORDER BY event_time DESC;

Rate limit mitigation strategies:

  • Schedule syncs during off-peak API hours (overnight, weekends)
  • Use Bulk API mode for large initial loads (separate rate limit pool)
  • Split high-volume objects across multiple connector pipelines with staggered schedules
  • Monitor API call consumption against limits before production cutover

Full Refresh vs Incremental: Choosing the Right Sync Strategy

Not every object should use incremental sync. Understanding when to force a full refresh prevents the cursor staleness and delete gap problems from accumulating silently.

Sync strategy decision:

Sync strategy decision:

Object characteristics Recommended strategy
──────────────────────────────────────────────────────────────
< 100K records, changes frequently Incremental (efficient)
< 100K records, static reference data Full refresh (simple)
> 1M records, has reliable updated_at Incremental (necessary)
> 1M records, no reliable change field CDC or full refresh*
Has hard deletes that matter CDC mode
Has hard deletes, CDC not supported Full refresh
Audit/compliance requirement CDC with tombstone retention
Historical backfill Full refresh (one-time)

* Full refresh on > 1M records is expensive — evaluate CDC first

The hybrid strategy for production:

Most production Lakeflow Connect pipelines run incremental sync on a frequent schedule (hourly or every few hours) plus a weekly full refresh to catch cursor staleness and accumulated drift.

Monday 00:00   Full refresh — reloads entire object, resets cursor
Monday 06:00 Incremental sync — picks up changes since full refresh
Monday 12:00 Incremental sync
...
Sunday 18:00 Incremental sync
Sunday 23:59 Last incremental before weekly full refresh

The full refresh is expensive but infrequent. The incremental syncs are cheap and frequent. Together they provide both low-latency updates and periodic correctness guarantees.


How Lakeflow Connect Resolves Schema Mapping

Source system field names rarely match Delta table conventions. Salesforce uses AccountId, SystemModstamp, IsDeleted. Your Delta table wants account_id, updated_at, is_deleted.

Lakeflow Connect handles this through a schema mapping layer configured per connector:

{
"schema_mapping": {
"AccountId": "account_id",
"Name": "account_name",
"SystemModstamp": "updated_at",
"IsDeleted": "is_deleted",
"AnnualRevenue": "annual_revenue_usd"
},
"type_mappings": {
"AnnualRevenue": "DECIMAL(18,2)",
"SystemModstamp": "TIMESTAMP"
},
"excluded_fields": ["LastViewedDate", "LastReferencedDate"]
}

Schema drift in the source:

When Salesforce adds a new custom field to the Account object, Lakeflow Connect detects it on the next sync. Behavior depends on configuration:

  • Auto-add (default): new field added to Delta table with NULL backfill for existing rows
  • Strict mode: sync fails on schema change — requires manual mapping update before resuming
  • Ignore: new fields excluded from sync until explicitly mapped

The schema drift production trap:

Auto-add sounds convenient. It becomes dangerous when a source administrator adds a field containing PII — a custom SSN field, a compensation field, a health data field. Auto-add lands it in your Delta table without governance review. If Unity Catalog column masking policies aren’t applied automatically (via ABAC tags), that PII column is exposed to anyone with SELECT on the table.

This is the intersection of ingestion and governance that the exam tests: schema evolution at the ingestion layer has security consequences at the governance layer. They’re not separate concerns.


Architecture Flow

Enterprise Source Systems
│
├── Salesforce, Workday, ServiceNow (Standard Connectors)
│ │
│ ▼
│ Lakeflow Connect Runtime
│ ├── Auth Manager (OAuth, token refresh)
│ ├── Extractor Engine
│ │ ├── Incremental: cursor-based modified records
│ │ ├── CDC: change log capture (inserts/updates/deletes)
│ │ └── Full refresh: complete object reload
│ ├── Rate Limit Handler (backoff, retry, resume)
│ ├── Schema Mapper (field rename, type cast, exclude)
│ └── Sync State Manager
│ ├── Cursor: last_sync_time, last_record_id
│ ├── Checkpoint: atomic with Delta commit
│ └── Tombstone: CDC delete marker retention
│
├── Custom SaaS / Niche Sources (Managed Connectors)
│ │
│ ▼
│ Same runtime, partner-owned connector logic
│ Partner responsible for API version compatibility
│
└── Databases (PostgreSQL, MySQL, SQL Server)
│
▼
JDBC direct read (Lakeflow Jobs)
OR Lakeflow Connect DB connector
(if available for your DB version)
│
▼
Unity Catalog Bronze Delta Tables
├── Managed tables (Lakeflow Connect default)
├── Schema enforced or evolved per config
├── _change_type column (CDC mode)
└── Lineage captured automatically

Failure Modes You’ll See in Production

Cursor staleness from backdated records. A source system runs a bulk correction job that sets updated_at to historical timestamps on 50,000 records. The incremental sync cursor is already past those timestamps. The corrections never land in your Delta table. Your Bronze data permanently diverges from the source. Detectable only via periodic row count reconciliation between source and target.

Rate limit cascades across multiple pipelines. A platform team runs 8 Lakeflow Connect pipelines against the same Salesforce org, all scheduled at the top of the hour. All 8 hit the same API rate limit pool simultaneously. All 8 enter backoff. Sync latency spikes for all pipelines simultaneously. The fix is staggered scheduling — not more API quota (which is a licensing conversation, not an engineering one).

CDC tombstone expiry before downstream processing. A Silver pipeline runs weekly. CDC delete markers have a 7-day retention. A delete event lands on Monday. The Silver pipeline runs the following Monday — 7 days later. Tombstones from the previous Monday have already been cleaned up. The delete never propagates to Silver. The stale record becomes permanent without a full refresh.

Managed connector API version lag. A partner connector is certified against Salesforce API v55. Salesforce deprecates v55 and forces migration to v59. The partner hasn’t updated their connector. Your pipeline starts returning API deprecation errors. The fix is on the partner’s roadmap — ETA unknown. Meanwhile, no data is flowing. This is the managed connector ownership boundary in production.

Schema auto-add exposing ungoverned PII. Source admin adds a custom field SSN__c to Salesforce Account. Auto-add mode lands it in prod.raw_sf.account as ssn__c. No masking policy exists for this column. Anyone with SELECT on the table now has unmasked SSNs. The field existed for 3 weeks before a security audit caught it.

Full refresh collision with incremental sync. A weekly full refresh and an hourly incremental sync are both scheduled. The full refresh starts at midnight. The incremental sync starts at 00:30 before the full refresh completes. Both attempt to commit to the same Delta table. The incremental sync fails with an OCC conflict. The full refresh completes. The incremental sync’s changes from 00:00–00:30 are lost. Detection requires monitoring sync completion status, not just trigger status.


Trade-offs: What Lakeflow Connect Optimizes For

Optimized for:

  • Zero custom connector code for supported sources
  • Managed authentication lifecycle (token refresh, certificate rotation)
  • Rate limit handling without engineering investment
  • Unity Catalog integration (lineage, governance, schema enforcement)
  • Incremental sync with cursor-based state management

Sacrificed or constrained:

  • Source coverage: only works with supported connectors. If your source isn’t in the catalog, you’re writing custom code regardless.
  • CDC universality: not all connectors support CDC mode. Delete propagation is source-dependent.
  • High-throughput event sources: Lakeflow Connect is designed for operational data volumes, not event stream volumes. A source producing millions of events per hour needs Auto Loader or Kafka, not Lakeflow Connect.
  • Debugging depth: when a connector fails, your debugging surface is the connector’s event log and Databricks support. You don’t have access to the connector’s internal state or source API response bodies.
  • Managed connector SLA: third-party connector reliability is outside Databricks’ SLA boundary.

Real-World Constraints

Data volume limits per connector: Lakeflow Connect connectors are optimized for operational record counts — tens of millions of records across all synced objects. Attempting to sync a 500M row transaction history table via Lakeflow Connect will stress the connector’s pagination and cursor mechanisms in ways they weren’t designed for. Large historical datasets belong in a dedicated bulk export pipeline, not a Lakeflow Connect incremental sync.

Unity Catalog table ownership: Lakeflow Connect creates managed Delta tables in Unity Catalog by default. As covered in Part 2 — managed tables have lifecycle semantics tied to the Unity Catalog registration. If someone drops the target table to “reset” the pipeline, the data is gone. External tables with explicit storage paths are safer for Lakeflow Connect landing zones where the raw Bronze data needs to outlive any specific pipeline configuration.

Connector credential rotation: OAuth tokens and API credentials have expiry windows. Lakeflow Connect handles token refresh automatically for standard connectors. But the underlying credentials (client ID, client secret, service account) have longer rotation cycles. When credentials are rotated in the source system, the Lakeflow Connect connection configuration must be updated — or the next sync fails with an authentication error. Build credential rotation into your operational runbook, not as a reaction to a failure.


What Databricks Expects You to Reason About

Lakeflow Connect questions on the exam test source-type identification and configuration reasoning — not connector catalog memorization.

The source type determines the tool. When a scenario describes enterprise SaaS data (CRM, HR, ticketing), Lakeflow Connect is the answer. When it describes files in object storage, Auto Loader or COPY INTO is the answer. When it describes a database, it's either a Lakeflow Connect DB connector or JDBC. The exam never presents these as ambiguous — the source type is always explicitly stated.

Incremental vs CDC vs full refresh is a data requirement decision. The scenario will describe what the pipeline needs to capture — just new and modified records, or deletes too, or a complete periodic reload. Match the requirement to the sync mode. Incremental for inserts/updates. CDC for deletes. Full refresh for correctness guarantees when CDC isn’t available.

Standard vs managed connector is an SLA and ownership question. When a scenario describes a connector maintenance failure or an API version deprecation, the question is asking who owns the fix. Standard = Databricks. Managed = partner. The wrong answer is “the data engineering team” — they don’t own connector internals.

Lakeflow Connect is not Auto Loader. The exam will present scenarios where both seem plausible. The distinguishing factor is always the source type. Lakeflow Connect connects to APIs and enterprise systems. Auto Loader ingests files from object storage. If the source exposes files, Auto Loader. If the source exposes an API, Lakeflow Connect.

The governance intersection. Schema auto-add at the ingestion layer has security consequences. A scenario describing unexpected PII exposure in a Bronze table, traced back to a schema change in the source system, has Lakeflow Connect’s auto-add behavior as the root cause — and Unity Catalog column masking as the governance gap. These two concepts tested together in one scenario is a realistic exam pattern.


Summary: The Engineering Lesson

Lakeflow Connect abstracts a genuinely hard problem — reliable, incremental, governed ingestion from enterprise systems that were never designed to be data sources.

The abstraction is valuable. The operational boundaries are real. Sync cursors track time, not identity — so backdated records fall through. CDC mode captures deletes — but only if the source supports it and tombstones are processed before they expire. Managed connectors handle the hard parts — but only within the limits of what their owners maintain.

“Managed” means the complexity is hidden, not eliminated.

Understanding what Lakeflow Connect does internally — how cursors advance, when CDC is necessary, what rate limit backoff looks like from the outside — is what separates a pipeline that runs from a pipeline that you can reason about when it produces wrong data at 3am.

The Bronze layer’s job is completeness. Lakeflow Connect is one of the mechanisms that delivers it. But completeness requires knowing where the gaps are — and designing around them.


🔥 Next in Series

Part 6 - PySpark Transformation Internals: Joins, Shuffles, and Skew

Data lands in Bronze. Now it has to become Silver. The transformation layer is where most Spark performance problems originate — not because the code is wrong, but because the data distribution interacts with Spark’s execution model in ways that aren’t obvious until you’re looking at a 10-minute stage with one 45-minute task.

We’ll go deep on broadcast joins vs shuffle joins vs sort-merge joins, how data skew creates the single-task bottleneck you’ve probably already seen in Spark UI, and why the right join strategy depends on table sizes the optimizer doesn’t always know about. The exam tests this domain with concrete scenario questions — and the wrong answers are always the “more compute” answer when the real fix is the right algorithm.


🔔 Follow for More

Follow TheDataForge for high-signal deep dives on Spark, Kafka, Streaming, Lakehouse, and real-world data engineering — no fluff, only engineering truth.

⚡️Let’s connect — I post daily Big Data & Spark insights at DataForgeX on X.

💬 Comment Below

What’s the most operationally deceptive Lakeflow Connect or enterprise ingestion failure you’ve hit?

Was it CDC disabled and stale deletes accumulating for months before a compliance audit surfaced them? A managed connector going dark after an API version deprecation with no ETA from the partner? A rate limit cascade that took down six pipelines simultaneously because they were all scheduled at the same time?

And — did the pipeline show SUCCESS the entire time it was producing wrong data?


Tags

#lakeflow-connect #enterprise-ingestion #cdc #sync-cursor #schema-mapping #rate-limiting #managed-connectors #delta-lake #unity-catalog #databricks-certification #dataforge