task_runs
Creates, updates, deletes, gets or lists a task_runs resource.
Overview
| Name | task_runs |
| Type | Resource |
| Id | databricks_workspace.cleanrooms.task_runs |
Fields
The following fields are returned by SELECT queries:
- list
Request completed successfully.
| Name | Datatype | Description |
|---|---|---|
notebook_name | string | |
output_schema_name | string | |
collaborator_job_run_info | object | |
notebook_job_run_state | object | |
output_schema_expiration_time | integer | |
run_duration | integer | |
start_time | integer |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | deployment_name | List all the historical notebook task runs in a clean room. |
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
- list
List all the historical notebook task runs in a clean room.
SELECT
notebook_name,
output_schema_name,
collaborator_job_run_info,
notebook_job_run_state,
output_schema_expiration_time,
run_duration,
start_time
FROM databricks_workspace.cleanrooms.task_runs
WHERE deployment_name = '{{ deployment_name }}' -- required;