Reputation: 2410
I'm asking this question to get feedbacks about when it is necessary to use a dbt model as source in the same dbt project?.
In which scenario is it recommended or not? In which scenario, we do not have the choice to reuse a model as source?
Thank you!
Upvotes: 0
Views: 1413
Reputation: 11
Brad,
How about insert into tablea Select key from tableb where key not in(select key from tablea where key is not null)
This is an extremely common pattern when building data warehouses.
Upvotes: 0