Closed cody-scott closed 7 months ago
Closed by #489
Hi !
This drop was useful for us.
The incremental_mdl__dbt_tmp
table stay in the database, and subsequent runs fails.
Hi and sorry for the reminder, but this is still very annoying. Could you explain why you did remove this extra drop ?
@cody-scott @schlich I also see an issue with this. I did an upgrade to the latest dbt-fabric
here https://github.com/dbt-msft/dbt-sqlserver/pull/502, and because of this line removed, I have one failing test TestIncrementalGrantsSQLServer
Removed the additional drop relation in https://github.com/dbt-msft/dbt-sqlserver/blob/master/dbt/include/sqlserver/macros/materializations/models/table/create_table_as.sql#L12
I don't believe this resolves the issue noted here, but its a good cleanup. https://github.com/dbt-msft/dbt-sqlserver/discussions/481
When running a run with the following model it generates two drops
DROPS