sql model config(dataset='ds_name') combined with profiles.yml dataset configuration, not right #11836
wanalytics8
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
if my profiles.yml has
while my model_1.sql has
then after I run dbt -s model_1.sql --target dev
the model will be saved to:
project.my_ds_name_my_ds_name.model_1
Is this an intended behaviour?( string concatenation from both places that I specified dataset)?
Or shall I never use config() to specify dataset, if I use --target?
Is this relevant to global macro generate_schema_name()?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions