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

Expand search paths for schema.yml files #2155

Closed
beckjake opened this issue Feb 25, 2020 · 0 comments · Fixed by #2160
Closed

Expand search paths for schema.yml files #2155

beckjake opened this issue Feb 25, 2020 · 0 comments · Fixed by #2160
Labels
enhancement New feature or request

Comments

@beckjake
Copy link
Contributor

beckjake commented Feb 25, 2020

Describe the feature

Currently, dbt searches for schema.yml files in source-paths, data-paths, and snapshot-paths. We should also search in macro-paths, and analysis-paths since macros/analyses can be documented now.

Describe alternatives you've considered

We can leave it like it is and tell new users over and over again that they need to put them in one of the three special directories. I think that's pretty unintuitive.

Additional context

I'd really really like to get this in for 0.16.0. It's a super easy fix (Add stuff to project._all_source_paths, change 2 calls) and it just seems silly to not do this.

Who will this benefit?

  • New dbt users
  • People who respond to support requests in slack
@beckjake beckjake added enhancement New feature or request triage labels Feb 25, 2020
beckjake added a commit that referenced this issue Feb 26, 2020
…ema-search-paths

Allow search in macro and analysis paths (#2155)
@drewbanin drewbanin removed the triage label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants