Databricks

Databricks job failed? Here’s why, and the fix.

PipelineMender AI checks your Databricks workspace every 5 minutes. When a job run fails, it reads each failed task’s error and stack trace and the job settings, connects the evidence, and hands you the likely root cause with a specific fix to review.

  • “Can View” on your jobs
  • You review every change
  • No model training
SeverityHigh
Failed tasks1 of 4
ConfidenceStrong

Root cause

The upstream table raw.orders renamed customer_id to client_id. Task merge_orders still selects customer_id, so Spark cannot resolve the column and the task stops before writing.

Evidence

  1. E1
    Task error[UNRESOLVED_COLUMN.WITH_SUGGESTION] customer_id cannot be resolved. Did you mean client_id?
  2. E2
    Stack traceThe failing select in merge_orders reads order_id, customer_id, amount.
  3. E3
    Job settingsmerge_orders runs the notebook /etl/merge_orders after ingest_orders.

Recommended fixReview before applying

01orders = spark.table("raw.orders").select(02    "order_id",03-   "customer_id",04+   col("client_id").alias("customer_id"),05    "amount")
The alias keeps every downstream table unchanged.

Read-only access

Everything a failed run leaves behind.

PipelineMender calls your workspace’s Jobs API with a token or service principal that has Can View on the jobs. It never starts, repairs, edits or deletes anything.

01

Job runs

Failed job runs from the Jobs API (runs/list), checked every 5 minutes.

02

Task output

Each failed task’s error and stack trace from runs/get-output, so the evidence quotes the real exception.

03

Job settings

The job and task settings from jobs/get: notebook paths, parameters and task dependencies.

Common failures

From the stack trace to the cause behind it.

A failed task tells you where the run stopped. The report tells you why, with the evidence, the impact and the change to make.

Schema drift

Renamed or dropped columns

An upstream table changed and a notebook or SQL task still selects the old name.

Data types

Schema and type conflicts

A write or merge into a Delta table meets a column whose type has changed.

Credentials

Expired tokens and lost access

A secret or token expired, or the job’s identity lost access to storage or a source.

Missing input

Paths that were not there

The files or folder for this run had not landed yet, or an upstream task did not write them.

Timeouts

Runs past their limit

A task ran past its timeout, or a source was too slow to answer.

Dependencies

Upstream task failures

An earlier task in the job failed, so the tasks after it were skipped.

Error guides: UNRESOLVED_COLUMN.WITH_SUGGESTION TABLE_OR_VIEW_NOT_FOUND MERGE: multiple source rows matched PATH_NOT_FOUND AADSTS7000222 All error guides

Setup

Connect a workspace in a few minutes.

  1. 01

    Sign-in method

    A personal access token (Free Edition and trials) or a service principal with an OAuth secret, which Databricks recommends for production.

  2. 02

    Can View

    Give that user or service principal Can View on the jobs you want watched.

  3. 03

    Workspace URL

    Enter the workspace URL and the token, or the client ID and secret.

  4. 04

    Test

    Test walks the same path the poller uses and tells you if the token or a permission is wrong.

  5. 05

    Every 5 minutes

    New failed runs become incidents and are investigated automatically.

Databricks guides: Personal access tokens Service principals (OAuth) Job permissions

Before you connect

Databricks questions.

What access does PipelineMender need in Databricks?

Can View on the jobs you want watched, through a personal access token or a service principal with an OAuth secret. Tokens and service principals work per workspace, so each workspace is its own connection.

Does it work with Databricks Free Edition?

Yes. A personal access token from Settings → Developer → Access tokens is enough to connect a Free Edition workspace.

Does it work on Azure, AWS and Google Cloud?

Yes. PipelineMender uses your workspace’s own Jobs API at its workspace URL, so Azure Databricks and Databricks on AWS or Google Cloud work the same way.

Does PipelineMender change or rerun my jobs?

No. Access is read-only. You review the recommended change, apply it in your workspace, and repair or rerun the job when you are ready.

Which other platforms are supported?

Microsoft Fabric data pipelines and Azure Data Factory, in the same workspace and the same incident list as your Databricks jobs.

Last reviewed 25 October 2026 against the Databricks documentation.

Databricks

The next failed job gets an investigation, not a guess.