Open claudiazi opened 3 weeks ago
Are you running from a single local directory against the cluster? As part of compilation, dbt writes files to your target folder, and I'm wondering if running multiple tasks in parallel is overwriting the results of compilation, like the manifest.json.
@benc-db This also happens when they run in different containers as individual batch jobs separately.
Interesting, that is surprising. I'm fairly sure this should work, as I believe people do this sort of thing with airflow, so I'm surprised this wouldn't have come up sooner. Could you share dbt.log files from a simple repro by email to ben.cassell@databricks.com?
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
Does anybody face the same situation? Thank you very much!