New to dbt and loving a lot of its features particularly tests. I am replicating a lot of our tests that exists as custom SQL and moving them into dbt tests. I am having one test I am struggling. Simple put it is a test that would compare the target table with a full rebuild of the table (compare primary keys). We do this at the moment by having 2 seperate scripts that have the transformation code largely duplicated. I was hoping that with a marco I could compare the model with a full rebuild of itself. However I am getting nowhere at the moment.