diff --git a/models/br_rf_cno/br_rf_cno__areas.sql b/models/br_rf_cno/br_rf_cno__areas.sql index 90897129..fd56f62f 100644 --- a/models/br_rf_cno/br_rf_cno__areas.sql +++ b/models/br_rf_cno/br_rf_cno__areas.sql @@ -1,4 +1,10 @@ -{{ config(alias="areas", schema="br_rf_cno") }} +{{ + config( + alias="areas", + schema="br_rf_cno", + materialized="table", + ) +}} select safe_cast(id_cno as string) id_cno, diff --git a/models/br_rf_cno/br_rf_cno__cnaes.sql b/models/br_rf_cno/br_rf_cno__cnaes.sql index ea72576a..81d77ef4 100644 --- a/models/br_rf_cno/br_rf_cno__cnaes.sql +++ b/models/br_rf_cno/br_rf_cno__cnaes.sql @@ -1,4 +1,4 @@ -{{ config(alias="cnaes", schema="br_rf_cno") }} +{{ config(alias="cnaes", schema="br_rf_cno", materialized="table") }} select safe_cast(data_registro as date) data_registro, safe_cast(id_cno as string) id_cno, diff --git a/models/br_rf_cno/br_rf_cno__microdados.sql b/models/br_rf_cno/br_rf_cno__microdados.sql index 0d37f9d4..51cd7145 100644 --- a/models/br_rf_cno/br_rf_cno__microdados.sql +++ b/models/br_rf_cno/br_rf_cno__microdados.sql @@ -1,4 +1,4 @@ -{{ config(alias="microdados", schema="br_rf_cno") }} +{{ config(alias="microdados", schema="br_rf_cno", materialized="table") }} select safe_cast(data_situacao as date) data_situacao, diff --git a/models/br_rf_cno/br_rf_cno__vinculos.sql b/models/br_rf_cno/br_rf_cno__vinculos.sql index 42f7949e..970e03c0 100644 --- a/models/br_rf_cno/br_rf_cno__vinculos.sql +++ b/models/br_rf_cno/br_rf_cno__vinculos.sql @@ -1,4 +1,4 @@ -{{ config(alias="vinculos", schema="br_rf_cno") }} +{{ config(alias="vinculos", schema="br_rf_cno", materialized="table") }} select