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

Validate whether a project is compatible with a target type #1471

Closed
clrcrl opened this issue May 16, 2019 · 3 comments
Closed

Validate whether a project is compatible with a target type #1471

clrcrl opened this issue May 16, 2019 · 3 comments
Labels
good_first_issue Straightforward + self-contained changes, good for new contributors! packages Functionality for interacting with installed packages stale Issues that have gone stale

Comments

@clrcrl
Copy link
Contributor

clrcrl commented May 16, 2019

Feature

Feature description

Add an optional key to dbt_project.yml, like:

compatible-target-types:
  - redshift
  - postgres

On compile, validate this list against target.type. If the key isn't provided, no validation should occur.
If the target.type isn't in the list, a compilation error should be raised.

There should also be a flag, like --no-target-type-check to override this check.

Who will this benefit?

Mainly maintainers of packages

@clrcrl clrcrl changed the title compatible-target-types key in dbt_project.yml Validate whether a project is compatible with a target type May 16, 2019
@clrcrl
Copy link
Contributor Author

clrcrl commented May 16, 2019

compatible-with?

@clrcrl
Copy link
Contributor Author

clrcrl commented Jun 4, 2019

Blocked by #1255

@drewbanin drewbanin added the good_first_issue Straightforward + self-contained changes, good for new contributors! label Jul 11, 2019
@drewbanin drewbanin added the packages Functionality for interacting with installed packages label Apr 1, 2020
@github-actions
Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.

@github-actions github-actions bot added the stale Issues that have gone stale label Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good_first_issue Straightforward + self-contained changes, good for new contributors! packages Functionality for interacting with installed packages stale Issues that have gone stale
Projects
None yet
Development

No branches or pull requests

2 participants