Closed prabavnc closed 3 years ago
Hey @prabavnc,
I'm glad you are finding dbt-athena
useful!
Regarding your question/issue, this is expected dbt
behaviour and you can find more about it here: Using custom schemas
If you wish to change this behaviour you will need to override the generate_schema_name
macro (dbt will always use the macro in your dbt project instead of the default macro), of which the source can be seen here: How does dbt generate a model's schema name?
I hope this helps, and I will leave this open for a while in case you have any any follow up questions.
Hi @Tomme ,
Thanks for dbt-athena , it works great.
I am trying to give a different schema than whats specified in
profiles.yml
, the model gets created in a schema completely different . Examples belowprofiles.yml
dbt_project.yml
Resulting table is getting created in
default_test
, basically its getting concatenating the schemas from both with an underscoreIs there a way to override the schema with the one under
dbt_project.yml
Any help highly appreciated. Thanks in advance