databricks-cli
databricks-cli copied to clipboard
[JOBS-5973] Add support for dbt tasks
Add support for:
- Creating dbt tasks
- Overriding
dbt_commandswhen callingrun_now - Running dbt job using
submit_run
Tested manually and added some unit tests.
Codecov Report
Merging #520 (2ebb03a) into main (d7a9987) will decrease coverage by
0.72%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #520 +/- ##
==========================================
- Coverage 60.93% 60.20% -0.73%
==========================================
Files 55 55
Lines 4669 4727 +58
==========================================
+ Hits 2845 2846 +1
- Misses 1824 1881 +57
| Impacted Files | Coverage Δ | |
|---|---|---|
| databricks_cli/utils.py | 86.45% <0.00%> (-3.66%) |
:arrow_down: |
| databricks_cli/click_types.py | 86.84% <0.00%> (-1.76%) |
:arrow_down: |
| databricks_cli/pipelines/cli.py | 95.43% <0.00%> (-0.92%) |
:arrow_down: |
| databricks_cli/unity_catalog/api.py | 0.00% <0.00%> (ø) |
|
| databricks_cli/unity_catalog/perms_cli.py | 0.00% <0.00%> (ø) |
|
| databricks_cli/unity_catalog/uc_service.py | 0.00% <0.00%> (ø) |
|
| databricks_cli/unity_catalog/metastore_cli.py | 0.00% <0.00%> (ø) |
|
| databricks_cli/unity_catalog/delta_sharing_cli.py | 0.00% <0.00%> (ø) |
|
| databricks_cli/configure/provider.py | 95.97% <0.00%> (+0.09%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
@kzidane I regenerated service.py and that added the same fields to the repair API.