You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DBT Operations (like 'run', 'seed', etc.) run successfully even when issues parsing .yml files
When running dbt run or dbt seed, there can be errors in parsing .yml files which are reported at the command line, but the dbt command still is marked as "succeeding." This is a problem because if there is one problem in parsing a .yml file, it can cause many other aspects of the operation, such as additional source info, model info, or tests not to be properly par
sed which means that the run may have "completed" but aspects of it which were intended were silently ignored.
Thanks for making this issue @jrandrews. You're right - dbt ignores errors in .yml specs for non-test operations like dbt run and dbt seed. This made sense at one point, but increasingly, dbt is able to use the information encoded in .yml specs in run/docs/etc contexts.
Let's go ahead and make this class of error a runtime error, rather than just a warning.
DBT Operations (like 'run', 'seed', etc.) run successfully even when issues parsing .yml files
When running
dbt run
ordbt seed
, there can be errors in parsing .yml files which are reported at the command line, but the dbt command still is marked as "succeeding." This is a problem because if there is one problem in parsing a .yml file, it can cause many other aspects of the operation, such as additional source info, model info, or tests not to be properly parsed which means that the run may have "completed" but aspects of it which were intended were silently ignored.
dbt --version
installed version: 0.13.1
latest version: 0.13.1
The operating system you're running on:
Mac OS 10.14.5 but also happens on dbt cloud using dbt version 0.13.1 in our environment setup.
The python version you're using (probably the output of
python --version
)python --version
Python 2.7.10
Steps to reproduce
Terminal output here:
The text was updated successfully, but these errors were encountered: