diff --git a/models/sources/exposures.sql b/models/sources/exposures.sql index 9b6e48b3..34edb8d5 100644 --- a/models/sources/exposures.sql +++ b/models/sources/exposures.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/invocations.sql b/models/sources/invocations.sql index 7cdabf94..c176c898 100644 --- a/models/sources/invocations.sql +++ b/models/sources/invocations.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/model_executions.sql b/models/sources/model_executions.sql index 09bec105..9347470e 100644 --- a/models/sources/model_executions.sql +++ b/models/sources/model_executions.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/models.sql b/models/sources/models.sql index f4ec8f01..5ab25e4e 100644 --- a/models/sources/models.sql +++ b/models/sources/models.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/seed_executions.sql b/models/sources/seed_executions.sql index dbb93977..78766d0e 100644 --- a/models/sources/seed_executions.sql +++ b/models/sources/seed_executions.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/seeds.sql b/models/sources/seeds.sql index 7c52ecf7..4be82135 100644 --- a/models/sources/seeds.sql +++ b/models/sources/seeds.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/snapshot_executions.sql b/models/sources/snapshot_executions.sql index dbb93977..78766d0e 100644 --- a/models/sources/snapshot_executions.sql +++ b/models/sources/snapshot_executions.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/snapshots.sql b/models/sources/snapshots.sql index e7832de6..a568cd6e 100644 --- a/models/sources/snapshots.sql +++ b/models/sources/snapshots.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/sources.sql b/models/sources/sources.sql index ad08f0d7..75701816 100644 --- a/models/sources/sources.sql +++ b/models/sources/sources.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/test_executions.sql b/models/sources/test_executions.sql index 50d37980..061cb90c 100644 --- a/models/sources/test_executions.sql +++ b/models/sources/test_executions.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo diff --git a/models/sources/tests.sql b/models/sources/tests.sql index 1a4b5d9d..f6695bc7 100644 --- a/models/sources/tests.sql +++ b/models/sources/tests.sql @@ -1,3 +1,9 @@ +{{ + config( + materialized='incremental', + on_schema_change='append_new_columns' + ) +}} /* Bigquery won't let us `where` without `from` so we use this workaround */ with dummy_cte as ( select 1 as foo