Nike-Inc / brickflow

Pythonic Programming Framework to orchestrate jobs in Databricks Workflow
https://engineering.nike.com/brickflow/
Apache License 2.0
183 stars 36 forks source link

Feature run job task #114

Closed shwen-gine closed 3 months ago

shwen-gine commented 3 months ago

Description

Added code to support Run Job task type. Run Job task can trigger another job by its job_name

Related Issue

Link to the issue - #55

Motivation and Context

Databricks now supports creating a "Run Job" task, which can trigger another job by its job_id, its good to have this feature in brickflow

How Has This Been Tested?

Unit tests + deployed test workflow using wheel file

Screenshots (if appropriate):

  1. Tested using brickflow-bundles-test image

  2. All test cases passed

    image image
  3. Test workflow with a Run Job task created using whl file

    image

Types of changes

Checklist:

asingamaneni commented 3 months ago

We need to update docs. Looks like the build failed, can you please run make fmt locally and then confirm if every thing looks good with make cov. Thanks for the effort!

asingamaneni commented 3 months ago

Closing this as this is being reviewed at #117