dbt-coves icon indicating copy to clipboard operation
dbt-coves copied to clipboard

Question: Should `generate sources` remove sources/staging models that are no longer in the database?

Open jaredx435k2d0 opened this issue 2 years ago • 2 comments

I noticed that when I re-run generate sources, sources and staging models for which the base tables have been deleted from the database are not modified / deleted. Is that the expected behavior?

jaredx435k2d0 avatar Feb 01 '23 20:02 jaredx435k2d0

@jaredx435k2d0 it's in fact the expected behavior. generate sources aims to create/update content, not delete it.

BAntonellini avatar Feb 07 '23 14:02 BAntonellini

Does the new recreate option drop existing objects?

jaredx435k2d0 avatar Feb 16 '23 19:02 jaredx435k2d0