Skip to contents

Repair A Job Run

Usage

db_jobs_repair_run(
  run_id,
  rerun_tasks = NULL,
  job_parameters = list(),
  latest_repair_id = NULL,
  performance_target = NULL,
  pipeline_full_refresh = NULL,
  rerun_all_failed_tasks = NULL,
  rerun_dependent_tasks = NULL,
  host = db_host(),
  token = db_token(),
  perform_request = TRUE
)

Arguments

run_id

Job run ID of the run to repair. The run must not be in progress.

rerun_tasks

Character vector. Task keys of the task runs to repair.

job_parameters

Named list of job level parameters used in the run.

latest_repair_id

The ID of the latest repair. This parameter is not required when repairing a run for the first time, but must be provided on subsequent requests to repair the same run.

performance_target

The performance mode on a serverless job (either 'PERFORMANCE_OPTIMIZED' or 'STANDARD'). The performance target determines the level of compute performance or cost-efficiency for the run. This field overrides the performance target defined on the job level.

pipeline_full_refresh

Boolean. Controls whether the pipeline should perform a full refresh.

rerun_all_failed_tasks

Boolean. If TRUE, repair all failed tasks. Only one of rerun_tasks or rerun_all_failed_tasks can be used.

rerun_dependent_tasks

Boolean. If TRUE, repair all tasks that depend on the tasks in rerun_tasks, even if they were previously successful. Can be also used in combination with rerun_all_failed_tasks.

host

Databricks workspace URL, defaults to calling db_host().

token

Databricks workspace token, defaults to calling db_token().

perform_request

If TRUE (default) the request is performed, if FALSE the httr2 request is returned without being performed.

Details

Parameters which are shared with db_jobs_create() are optional, only specify those that are changing.