How do I deploy or run one job if I have multiple jobs in a Databricks Asset Bundle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 06:50 AM
How do I deploy or run a single job if I have 2 or more jobs defined in my asset bundle?
$databricks bundle deploy job1 #does not workI do not see a flag to identify what job to run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 11:17 AM
What are you trying to solve? I believe an asset bundle is intended to be deployed as a whole unit (hence why it's a bundle). Why would you want to deploy one job from it, and not the others? If there are no changes to an existing job, nothing will be applied.
As far as running just one, `databricks bundle run job1` should work. https://docs.databricks.com/aws/en/dev-tools/cli/bundle-commands#run-a-job-or-pipeline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 03:22 PM
`databricks bundle run job1` works, but `databricks bundle deploy job1` does not.
To your point I guess the deploy does not really matter if nothing has changed so maybe I am overthinking it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 03:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 04:12 PM
Outstanding @mark_ott !