You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a setting to create unique temporary table names for parallel execution of multiple incremental models targeting the same table. There is a similar feature in dbt-athena See “unique_tmp_table_suffix” section in https://github.com/dbt-labs/dbt-athena/blob/main/README.md
Describe alternatives you've considered
No response
Who will this benefit?
Developers using GCP Bigquery
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is this your first time submitting a feature request?
Describe the feature
Context
dbt creates a temporary table and uses a merge statement on Bigquery to refresh incremental models. See https://discourse.getdbt.com/t/bigquery-dbt-incremental-changes/982 for more details.
Current Status
In the current implementation, it automatically generates a temporary table name by appending
__dbt_tmp
to the existing target table name. This limitation prevents parallel execution of incremental models that target the same table. See https://github.com/dbt-labs/dbt-bigquery/blob/main/dbt/include/bigquery/macros/materializations/incremental.sql#L80C26-L80C44 and https://github.com/dbt-labs/dbt-adapters/blob/main/dbt/include/global_project/macros/adapters/relation.sql#L9C12-L9C31).Request
Provide a setting to create unique temporary table names for parallel execution of multiple incremental models targeting the same table. There is a similar feature in dbt-athena See “unique_tmp_table_suffix” section in https://github.com/dbt-labs/dbt-athena/blob/main/README.md
Describe alternatives you've considered
No response
Who will this benefit?
Developers using GCP Bigquery
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: