The expected behaviour should be that the table with the same name as the new view should continue to exist.
Steps To Reproduce
In your dremio object storage source, create a table with any name
Using the current adapter create a new project
Create a model (view) in this new project with the configuration block like the following: {{ config(materialized='view', twin_strategy='allow') }} and the same name as the table created above
Do a dbt run and check to see if the table still exists
Is there an existing issue for this?
Current Behavior
When specifying twin_strategy as allow, the table with the same name as the view is actually being dropped instead of allowed to exist.
The macro where this logic exists is in twin_strategy.sql:
Expected Behavior
The expected behaviour should be that the table with the same name as the new view should continue to exist.
Steps To Reproduce
{{ config(materialized='view', twin_strategy='allow') }}
and the same name as the table created aboveEnvironment
Relevant log output
No response