Get a single job run.
get_job_run_and_wait.Rd
This is a long-running operation, which blocks until Jobs on Databricks reach
TERMINATED or SKIPPED state with the timeout of 20 minutes, that you can change via timeout
parameter.
By default, the state of Databricks Jobs is reported to console. You can change this behavior
by changing the callback
parameter.
Usage
get_job_run_and_wait(
client,
run_id,
include_history = NULL,
include_resolved_values = NULL,
timeout = 20,
callback = cli_reporter
)
Arguments
- client
Required. Instance of DatabricksClient()
- run_id
Required. The canonical identifier of the run for which to retrieve the metadata.
- include_history
Whether to include the repair history in the response.
- include_resolved_values
Whether to include resolved parameter values in the response.
- timeout
Time to wait for the operation to complete in minutes.
- callback
Function to report the status of the operation. By default, it reports to console.