We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A malformed yml file can result in an error like:
Instead, this error should include information about the file in which the errant jinja code was found.
Create a .yml file with the contents:
version: 2 models: - name: debug meta: abc: 123 columns: - name: id description: '{{ doc("mydoc") }}'
Note that the columns entry is errantly indented under meta.
meta
Run dbt ls or dbt compile to see the compilation exception.
dbt ls
dbt compile
I would expect to see the filename containing the errant code in the raised exception.
The output of dbt --version:
dbt --version
v0.17.0-rc3
The text was updated successfully, but these errors were encountered:
Merge pull request #2501 from fishtown-analytics/fix/better-filename-…
594b8b7
…errors add project names/filenames/values to rendering errors (#2499)
closed in #2501
Sorry, something went wrong.
No branches or pull requests
Describe the bug
A malformed yml file can result in an error like:
Instead, this error should include information about the file in which the errant jinja code was found.
Steps To Reproduce
Create a .yml file with the contents:
Note that the columns entry is errantly indented under
meta
.Run
dbt ls
ordbt compile
to see the compilation exception.Expected behavior
I would expect to see the filename containing the errant code in the raised exception.
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: