job_run_output
Creates, updates, deletes, gets or lists a job_run_output
resource.
Overview
Name | job_run_output |
Type | Resource |
Id | databricks_workspace.workflows.job_run_output |
Fields
The following fields are returned by SELECT
queries:
- getrunoutput
Request completed successfully.
Name | Datatype | Description |
---|---|---|
dbt_output | object | |
error | string | |
error_trace | string | |
info | string | |
logs | string | |
logs_truncated | boolean | |
metadata | object | |
notebook_output | object | |
run_job_output | object | |
sql_output | object |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getrunoutput | select | deployment_name | Retrieve 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.
Name | Datatype | Description |
---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT
examples
- getrunoutput
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;