elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Add columns to dbt-package YML files

Open diorge opened this issue 2 years ago • 1 comments

Describe the gap

The dbt-package for elementary declares the YML dbt docs with description for all the models. It does not however include the columns. When using a tool to make sure our documentation matches the code (dbt-checkpoint), the test fails because of the elementary models.

Having the columns declared in the elementary dbt-package would solve the issue. Having a good description for those would be nice too.

Additional context

It is unfortunately not possible to simply re-declare the elementary models in our project, as dbt does not accept two definitions of the same model, and local definitions do not override package definitions.

It is maybe possible to just ignore the elementary models in the static checker, because it reads the full catalog.json and manifest.json files -- however manually manipulating those files would be very troublesome and bug-prone.

diorge avatar Apr 07 '23 17:04 diorge

I run into the same issue. @diorge , with what solution did you go to skip the error raised by any of the pre-commit hooks of dbt-checkpoint?

FrankTub avatar Jan 12 '24 07:01 FrankTub