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

Fix a regression where dbt ignored aliases in config() calls #2559

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

beckjake
Copy link
Contributor

resolves #2557

Description

The new config()-handling code just doesn't have the alias logic. This PR adds it back in.

I updated an existing test to catch this issue in the future.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@cla-bot cla-bot bot added the cla:yes label Jun 17, 2020
@drewbanin
Copy link
Contributor

@beckjake this LGTM as-is, but one QQ. I noticed that setting the same config in the dbt_project.yml file is not working correctly:

models:
  project: thisprojectdoesnotexist

This is just a long-standing open issue and not a regression as far as I can tell. Let's be sure to fix that one soon though. I could have sworn we had an open issue for it, but I couldn't find one, so I created a new ticket here: #2562

Copy link
Contributor

@kwigley kwigley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@beckjake beckjake merged commit c01056b into dev/marian-anderson Jun 18, 2020
@beckjake beckjake deleted the fix/alias-bug branch June 18, 2020 13:13
@beckjake beckjake mentioned this pull request Jun 19, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BigQuery project alias is ignored in config
3 participants