Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dbt tasks #520

Merged
merged 8 commits into from
Aug 18, 2022
Merged

Add support for dbt tasks #520

merged 8 commits into from
Aug 18, 2022

Conversation

kzidane
Copy link
Contributor

@kzidane kzidane commented Jul 19, 2022

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.

@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2022

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%) ⬇️
databricks_cli/click_types.py 86.84% <0.00%> (-1.76%) ⬇️
databricks_cli/pipelines/cli.py 95.43% <0.00%> (-0.92%) ⬇️
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%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kzidane kzidane requested a review from KoningJasper July 19, 2022 09:00
@kzidane kzidane requested a review from pietern August 15, 2022 22:01
@pietern pietern changed the title [JOBS-5973] Add support for dbt tasks Add support for dbt tasks Aug 18, 2022
@pietern
Copy link
Contributor

pietern commented Aug 18, 2022

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

@pietern pietern merged commit f576b89 into databricks:main Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants