tnightengale/dbt-meta-testing

required_docs failed message not rendering on screen.

Closed this issue · 4 comments

When I am using dbt 0.19.0 with this package v 0.2.0, when the validation fails, the message is not being displayed.
The problem was not happening when I was using 0.18.x version or when I negate package version to 0.1.2.
image

@akhaitan-xometry Thanks for raising this! That's really interesting... 0.2 was a big refactor on the error messages and how they are returned. Can I grab some more details? What warehouse are you running your project on?

@akhaitan-xometry Thanks for raising this! That's really interesting... 0.2 was a big refactor on the error messages and how they are returned. Can I grab some more details? What warehouse are you running your project on?

It is on snowflake but this test was done on an AWS Postgres instance. Both behaved similarly!

The issue seems to be in line 19 of macros/utils/errors/error_required_docs.sql:
{% if missing_description_errors | length > 0 %}
Should be
{% if missing_model_errors | length > 0 %}