Do we have a way to check model definitions against the actual models?

Hello,

Well, as the title sais. I’m having a project with a lot of models which have yml definitions and it’s becoming painfull to keep them up to date as sometime I add a new column or remove it and forget to reflect that on the yml file, so I was wondering if there’s any comand I missed or tool which I can run to see that all the columns are referenced on the yml and there are no extras? As a side note, I’m using dbt-core.

You might be interested in dbt-checkpoint: https://github.com/dbt-checkpoint/dbt-checkpoint

Note: @Owen originally posted this reply in Slack. It might not have transferred perfectly.

1 Like