From 68d080605c27e9d0106f6904bc6b6897c548f602 Mon Sep 17 00:00:00 2001 From: Gabrielle Carvalho <77730866+gabrielle-carv@users.noreply.github.com> Date: Tue, 25 Jul 2023 10:17:04 -0300 Subject: [PATCH] restricao --- dbt_project.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index 3208fa8a..0cd54225 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -121,6 +121,12 @@ models: br_mercadolivre_ofertas: +materialized: table +schema: br_mercadolivre_ofertas + +post-hook: + - 'REVOKE `roles/bigquery.dataViewer` ON TABLE {{ this }} FROM "specialGroup:allUsers"' + - 'GRANT `roles/bigquery.dataViewer` ON TABLE {{ this }} TO "group:bd-pro@basedosdados.org"' + br_ms_cnes: + +materialized: table + +schema: br_ms_cnes br_ons_avaliacao_operacao: +materialized: table +schema: br_ons_avaliacao_operacao @@ -171,7 +177,4 @@ models: FILTER USING (ano_campeonato=EXTRACT(YEAR from CURRENT_DATE()))' test_dataset: +materialized: table - +schema: test_dataset - br_ms_cnes: - +materialized: table - +schema: br_ms_cnes \ No newline at end of file + +schema: test_dataset \ No newline at end of file