databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

[JOBS-5973] Add support for dbt tasks

Open kzidane opened this issue 2 years ago • 1 comments

Add support for:

  • Creating dbt tasks
  • Overriding dbt_commands when calling run_now
  • Running dbt job using submit_run

Tested manually and added some unit tests.

kzidane avatar Jul 19 '22 08:07 kzidane

Codecov Report

Merging #520 (2ebb03a) into main (d7a9987) will decrease coverage by 0.72%. The diff coverage is n/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.

codecov-commenter avatar Jul 19 '22 08:07 codecov-commenter

@kzidane I regenerated service.py and that added the same fields to the repair API.

pietern avatar Aug 18 '22 12:08 pietern