-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 reversion in 0.19.1 #3218
Comments
@max-sixty You're right—I'm sorry I didn't catch this during the v0.19.1 testing process. Let's figure out a fix for this, and a way to add an automated test for this—even if we can't fully integration-test it (since the integration tests run via service account)—to ensure that this doesn't happen again in a future version. |
So this still works: my-bigquery:
outputs:
oauth:
type: bigquery
method: oauth
project: "{{ 'None' | as_native }}"
dataset: dbt_jcohen
target: oauth The
@gshank @kwigley Any chance there's an immediate spark of recognition for either of you in this error message? |
The logic to set the project when not provided relied on a hook when creating the credential object that worked well when serializing data before we introduced I added a test to check to cover this case and a quick fix here, it still needs some polish -> 0.19.latest...fix/bigquery-no-project |
@kwigley Someone in Slack just saw the same error for their Snowflake profile when
Here's the relevant hook:
UPDATE: False alarm! This was an interaction between |
Hey @max-sixty, we're including a fix for this in v0.19.2, for which we just cut a release candidate. We've been able to add a test for this, and it worked locally for me, but just to be triple sure—any chance you could test locally and confirm that it resolves the regression? pip install dbt==0.19.2rc1
# or
brew install dbt@0.19.2-rc1 [edited: typo] |
More than happy to test but are you sure that's right re pip?
|
@max-sixty Sorry, silly typo on my part! Just edited |
@jtcohen6 sorry, not sure how I copy & pasted so blindly! This works with 0.19.2-rc1, thanks for fixing! |
Describe the bug
0.19.1 reverts the behavior around whether a
database
/project
is required inprofiles.yml
.For example:
...fails with
Un-commenting
project
above works.Expected behavior
As above, which worked in 0.19.0
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
MacOS
The output of
python --version
:3.8
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: