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

Look in all source folders for .yml and .md files #1832

Closed
1 of 5 tasks
r-hempenstall opened this issue Oct 15, 2019 · 1 comment
Closed
1 of 5 tasks

Look in all source folders for .yml and .md files #1832

r-hempenstall opened this issue Oct 15, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@r-hempenstall
Copy link

Describe the bug

When running dbt, it looks inside the models folder for .yml and .md files but does not look inside the snapshots folder. This is a bit ugly when trying to specify the sources for snapshots as the queries and the snapshots and their documentation end up in different sections of the project.

Steps To Reproduce

Create a .yml file specifying a source for a snapshot in the snapshots folder. It won't be picked up by dbt and instead you'll get an error about not being able to find the source.

Expected behavior

When I run the snapshot function I would expect the steps described above to compile and create my snapshot using the correct source.

System information

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • other (specify: ____________)

The output of dbt --version:

installed version: 0.14.3

The operating system you're using:

macOS Mojave

The output of python --version:

Python 2.7.10

Additional context

Link to Slack discussion: https://getdbt.slack.com/archives/C0VLZPLAE/p1571144500103000

@r-hempenstall r-hempenstall added bug Something isn't working triage labels Oct 15, 2019
@drewbanin drewbanin added enhancement New feature or request and removed bug Something isn't working triage labels Oct 15, 2019
@drewbanin drewbanin changed the title Look in the snapshots folder for .yml and .md files Look in all source folders for .yml and .md files Jan 15, 2020
@drewbanin drewbanin added this to the Barbara Gittings milestone Jan 15, 2020
beckjake added a commit that referenced this issue Jan 22, 2020
…a-search

expand search for docs and schema.yml (#1832)
@beckjake
Copy link
Contributor

Fixed in #2058

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

No branches or pull requests

3 participants