-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
featureNew enhancement or feature requestNew enhancement or feature request
Description
In addition to submitting a one-time job run through the databricks runs submit CLI, it would be great to additionally support an experimental --wait option to await its success (polling job status every ~30s). This would greatly simplify integration testing use cases, allowing us to generalize plugins like https://github.com/databricks/run-notebook across CI/CD providers.
In the future, we might consider:
- Extending this parameter to the
databricks jobs run-nowAPI to allow awaiting the result of a run of an existing job as well - Making the polling interval configurable, with some fixed minimum to avoid DOSing the jobs
/runs/getREST API endpoint used to poll for run status.
The --wait option suggestion is based off of a similar API change proposed in this PR. This functionality is also similar to that provided by dbx launch --trace, but has the added flexibility of being able to run jobs that are not declared in DBX's YAML format & without requiring the caller to install dbx and invoke dbx configure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew enhancement or feature requestNew enhancement or feature request