-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support overriding the profile_config
per dbt node or folder using config
#1492
Conversation
✅ Deploy Preview for sunny-pastelito-5ecb04 canceled.
|
@wornjs @dwreeves @pankajastro @pankajkoti would love your thoughts. Please look at the description and the current/ possible alternative implementation. I'm happy to hear other ideas as well! I'd rather take a bit longer and have an interface that makes sense. |
profile_name
per node or folder using configprofile_name
per dbt node or folder using config
profile_name
per dbt node or folder using configprofile_config
per dbt node or folder using config
profile_config
per dbt node or folder using configprofile_config
per dbt node or folder using config
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1492 +/- ##
==========================================
+ Coverage 97.05% 97.11% +0.05%
==========================================
Files 77 77
Lines 4484 4501 +17
==========================================
+ Hits 4352 4371 +19
+ Misses 132 130 -2 ☔ View full report in Codecov by Sentry. |
4db7628
to
cd87b6f
Compare
Allow users to override
profile_config
per operator or folder using config. Extends the work introduced by @wornjs in #1339, when we started supporting operator-level arguments defined in the dbt project/model YAML.This PR includes a generic implementation that introduces the
[meta][cosmos][profile_config]
section, at the same level asoperator_kwargs
, and ensures these configs override the original profile config.Example overriding a
profile_config
that usesprofiles_yml_filepath
:Example of an interface when using
profile_mapping
: