[bug] Fix ExecutionMode.AIRFLOW_ASYNC
query
#1260
Labels
area:execution
Related to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etc
bug
Something isn't working
dbt:run
Primarily related to dbt run command or functionality
profile:bigquery
Related to BigQuery ProfileConfig
stretch goal
Context
In Cosmos 1.7, we introduced experimental BQ support to run dbt models with
ExecutionMode.AIRFLOW_ASYNC
in #1224 and #1230.While chatting with @joppevos , he identified that the dbt run command:
the BQ adaptor seems to create or replace on top of the table, not a drop/create:
https://github.com/dbt-labs/dbt-bigquery/blob/455c76887c9886c517df9619335066bedb1e1a43/dbt/include/bigquery/macros/adapters.sql#L16
Only if the partitions or clusters have changed then it drops
https://github.com/dbt-labs/dbt-bigquery/blob/455c76887c9886c517df9619335066bedb1e1a43/dbt/include/bigquery/macros/materializations/table.sql#L27
Action
dbt run
commandThe text was updated successfully, but these errors were encountered: