Skip to main content

job_run_output

Creates, updates, deletes, gets or lists a job_run_output resource.

Overview

Namejob_run_output
TypeResource
Iddatabricks_workspace.workflows.job_run_output

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
dbt_outputobject
errorstring
error_tracestring
infostring
logsstring
logs_truncatedboolean
metadataobject
notebook_outputobject
run_job_outputobject
sql_outputobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getrunoutputselectdeployment_nameRetrieve the output and metadata of a single task run. When a notebook task returns a value through the

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Retrieve the output and metadata of a single task run. When a notebook task returns a value through the

SELECT
dbt_output,
error,
error_trace,
info,
logs,
logs_truncated,
metadata,
notebook_output,
run_job_output,
sql_output
FROM databricks_workspace.workflows.job_run_output
WHERE deployment_name = '{{ deployment_name }}' -- required;