Michael Qiu
08/30/2023, 5:34 PMCREATE OR REPLACE TABLE
since DBT recognizes that the table in BigQuery doesn't exist yet, and what ends up happening is that those runs will override previously existing partitions in the other parallel runs.
Anybody know of a good workaround for this? Maybe a way to create tables (with no data) before materializing based on either the DBT schema/query?Qwame
08/30/2023, 5:58 PMZachary Bluhm
08/30/2023, 5:59 PMBrendan Jackson
08/30/2023, 7:06 PMBrendan Jackson
08/30/2023, 7:07 PMTim Castillo
08/30/2023, 7:40 PMlimit 0
at every partitioned model? This should do what're you asking for, which is create all the tables, but leave them empty.Michael Qiu
08/30/2023, 7:58 PMlimit 0
within DBT (using this approach): https://github.com/dbt-labs/dbt-core/issues/4201Zachary Bluhm
08/31/2023, 2:05 PM