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

0.12.0-alpha regression: if no target is specified, dbt should use a target called "default" #1088

Closed
drewbanin opened this issue Oct 24, 2018 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@drewbanin
Copy link
Contributor

Issue

A regression in the 0.12.0 alpha no longer uses the default target if a target: is not specified.

Issue description

Given a profile like:

{
    default: {
        outputs: {
            default: {
                type: 'postgres',
                threads: 1,
                host: 'localhost',
                port: 5432,
                user: 'root',
                pass: 'password',
                dbname: 'test',
                schema: 'test'
            }
        }
    }
}

(Note: There is no target specified here). Previous versions would use the "default" target if no target was listed explicitly. It looks like the alpha instead fails with:

Encountered an error while reading profiles:
  ERROR Runtime Error
  target not specified in profile 'default'

System information

The output of dbt --version:

0.12.0-a1

The operating system you're running on:
3.7

@drewbanin drewbanin added the bug Something isn't working label Oct 24, 2018
@drewbanin drewbanin added this to the Guion Bluford milestone Oct 24, 2018
@beckjake beckjake self-assigned this Oct 24, 2018
beckjake added a commit that referenced this issue Oct 24, 2018
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

No branches or pull requests

2 participants