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
If dbt reads a yaml file in list format such as:
- name: my_name - name: alt_name
then an exception occurs:
File "/.../core/dbt/parser/schemas.py", line 123, in yaml_from_file for source in contents.get("sources", []):
The code in parser/schemas.py is expecting a dictionary and doesn't handle a list in a user-friendly way.
Instead of unfriendly exception, we issue a better error message.
The text was updated successfully, but these errors were encountered:
I've definitely ran into this before and spent too long debugging. Thank you! ❤️
Sorry, something went wrong.
gshank
Successfully merging a pull request may close this issue.
Description
If dbt reads a yaml file in list format such as:
then an exception occurs:
File "/.../core/dbt/parser/schemas.py", line 123, in yaml_from_file
for source in contents.get("sources", []):
The code in parser/schemas.py is expecting a dictionary and doesn't handle a list in a user-friendly way.
Acceptance Criteria
Instead of unfriendly exception, we issue a better error message.
The text was updated successfully, but these errors were encountered: