โ06-17-2022 07:33 AM
I am trying to create Databricks Jobs and Delta live table(DLT) pipelines by using Databricks API.
I would like to have the JSON code of Jobs and DLT in the repository(to configure the code as per environment) and execute the Databricks API by passing this JSON code in the Release/CD pipeline (Azure Devops).
I know this could be achieved with Powershell script in the Release/CD pipeline by authenticating the API call.
However, is there any other straight forward way to do this?
โ08-02-2022 03:18 AM
hi @Deepak Goldwyn Livingstonโ have you checked the Jobs API document?
https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate
โ08-02-2022 03:18 AM
hi @Deepak Goldwyn Livingstonโ have you checked the Jobs API document?
https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate
โ08-11-2022 03:04 PM
Hi @Deepak Goldwyn Livingstonโ , You can find the JSON of an existing job from the jobs UI itself. Click on the Job and click on the three dots next to "Run Now".
For the JSON skeleton, please check the Jobs API document:
https://docs.databricks.com/dev-tools/api/latest/jobs.html#operation/JobsCreate
Let me know if this helps.
โ08-15-2022 02:30 PM
Hi @Deepak Goldwyn Livingstonโ,
Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.
โ08-16-2022 12:03 AM
Hi Jose,
Yes it answered my question. I am indeed using JSON file to create Jobs and pipelines
Thanks.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group