dbt-databricks
dbt-databricks copied to clipboard
[TABLE_OR_VIEW_ALREADY_EXISTS] when running create or replace views/tables in parallel
trafficstars
Describe the bug
When I'm running dbt run -s model for different models in parallel (and they exist before these dbt commands run) on databricks general compute cluster. Im getting the error: TABLE_OR_VIEW_ALREADY_EXISTS.
However, after getting this error, if it is a table, then the table still exists; if it is a view, the view doesnt exist anymore.
Steps To Reproduce
- tried with dbt-databricks 1.7.14 and 1.7.11. and 1.8.1.
Does anybody face the same situation? Thank you very much!