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

BigQuery project alias is ignored in config #2557

Closed
1 task done
drewbanin opened this issue Jun 17, 2020 · 1 comment · Fixed by #2559
Closed
1 task done

BigQuery project alias is ignored in config #2557

drewbanin opened this issue Jun 17, 2020 · 1 comment · Fixed by #2559
Labels
bug Something isn't working
Milestone

Comments

@drewbanin
Copy link
Contributor

Describe the bug

A user reported that a config like:

{{ config(project='myproject') }}

...

has regressed in dbt v0.17.0. While this config worked in a BQ project in dbt v0.16.1, they reported that they needed to change project to database to apply the configuration in dbt v0.17.0.

This issue needs to be reproduced - there may be other factors that impact the incidence of this regression.

Steps To Reproduce

-- models/my_model.sql

{{ config(project='custom_project') }}

select 1 as id
dbt run

Confirm that the model was not build into the custom project override

Expected behavior

The model should be built into the project defined in the project config. Database-specific aliases should applied to config names.

System information

Which database are you using dbt with?

  • bigquery

The output of dbt --version:

0.17.0

The operating system you're using: Windows
The output of python --version: Unknown

@drewbanin drewbanin added the bug Something isn't working label Jun 17, 2020
@drewbanin drewbanin added this to the 0.17.1 milestone Jun 17, 2020
@beckjake
Copy link
Contributor

I can reproduce this in a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants