From 587bf79dd98a47149f8d31c60b2c569ec691ada7 Mon Sep 17 00:00:00 2001 From: uiro-bi Date: Wed, 23 Oct 2024 17:05:58 -0300 Subject: [PATCH] fix: add tipo_vinculo to dicionario --- models/br_ms_cnes/br_ms_cnes__dicionario.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/br_ms_cnes/br_ms_cnes__dicionario.sql b/models/br_ms_cnes/br_ms_cnes__dicionario.sql index 8b1159e6..b6b6c255 100644 --- a/models/br_ms_cnes/br_ms_cnes__dicionario.sql +++ b/models/br_ms_cnes/br_ms_cnes__dicionario.sql @@ -5,6 +5,6 @@ select safe_cast(id_tabela as string) id_tabela, safe_cast(nome_coluna as string) nome_coluna, safe_cast(chave as string) chave, - safe_cast(replace(cobertura_temporal, '-1', '(1)') as string) cobertura_temporal, + safe_cast(cobertura_temporal as string) cobertura_temporal, safe_cast(valor as string) valor, from `basedosdados-staging.br_ms_cnes_staging.dicionario` as t