Databricks API Calls for Job Runs From a Notebook (Hands on Demo!)

  Рет қаралды 8,895

Coopman Greg

Coopman Greg

Күн бұрын

Пікірлер: 7
@rashmitakarak6053
@rashmitakarak6053 3 ай бұрын
I am providing the token and other details yet my code returns a 404 error. What should i be doing?
@harithareddy687
@harithareddy687 10 ай бұрын
When I am using above api call it is giving me the partial result suppose if we 20 jobs ran it giving me only 10 jobs result and not giving the deatils about other jobs ex :job a ,job b , job c ran but it is giving me results for job a and job c it is skipping job b results
@mithunkumar7063
@mithunkumar7063 10 ай бұрын
I am able to list only maximum of 100 jobs,,how to get details of all the jobs running in the workspace
@CoopmanGreg
@CoopmanGreg 10 ай бұрын
You will need to investigate the page_token, epand_tasks, start_time_from, and start_time_to paramaters in the api documentation. Those need to be configured in the payload then used in a loop to get 100 at a time. Hope this helps.
@mithunkumar7063
@mithunkumar7063 10 ай бұрын
@@CoopmanGreg Thanks
@myselfandpesit
@myselfandpesit Жыл бұрын
Why do you want to run API in databricks when you can see the jobs inside workflows ?
@CoopmanGreg
@CoopmanGreg Жыл бұрын
Lets say your company has 4000 jobs and you are assigned to find all the jobs that do not have Tags setup for some Category, but almost all of the jobs already have the tags populated. And you have to do this monthly. Well, if you have to open every one of the 4000 jobs and try to eyeball it. It would take you days. By using (automating with) the api, you can program the api output to be put into a database and you can then easily query in seconds to find all the jobs that are missing the category value. There are 100s of APIs with Databricks which you can get information from. But, of course if you have a small number of objects, you would be wasting your time to use APIs for automation (because it takes a lot of time and programming skill). I hope this gives you an idea how APIs maybe used. Thanks for watching.
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Execute a Databricks Job with parameters using the REST API
7:24
Querying S3 Tables with Spark on Kubernetes and DuckDB
11:53
dacort - Data Analytics
Рет қаралды 349
Automating Databricks Workflows - A Game Changer for Data Engineering
32:03
How to Create Databricks Workflows (new features explained)
37:58
Bryan Cafferky
Рет қаралды 18 М.
Read from Rest API
18:31
Knowledge Sharing
Рет қаралды 10 М.
Create and manage scheduled notebook jobs | Databricks |
18:49
GeekCoders
Рет қаралды 13 М.
Data Alerts in Databricks| Nicely Conditionally Formatted table in Databricks
6:04
Part1: DataBricks - APIs (Clusters, Jobs, Job Runs)
31:06
Next Level
Рет қаралды 12 М.