From 9392aaef23f43c3442bbf753e5163015ba178f42 Mon Sep 17 00:00:00 2001 From: uiro-bi Date: Thu, 5 Sep 2024 13:57:59 -0300 Subject: [PATCH] fix: set proper column names --- models/br_bcb_sicor/br_bcb_sicor__microdados_liberacao.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/br_bcb_sicor/br_bcb_sicor__microdados_liberacao.sql b/models/br_bcb_sicor/br_bcb_sicor__microdados_liberacao.sql index 1f511409..3d213a56 100644 --- a/models/br_bcb_sicor/br_bcb_sicor__microdados_liberacao.sql +++ b/models/br_bcb_sicor/br_bcb_sicor__microdados_liberacao.sql @@ -17,7 +17,7 @@ select safe_cast(ano as int64) ano, safe_cast(mes as int64) mes, safe_cast(data_liberacao as date) data_liberacao, - safe_cast(id_referencia_bacen as string) id_referencia_bacen, - safe_cast(numero_ordem as string) numero_ordem, - safe_cast(valor_liberado as float64) valor_liberado + safe_cast(valor_liberado as string) id_referencia_bacen, + safe_cast(id_referencia_bacen as string) numero_ordem, + safe_cast(numero_ordem as float64) valor_liberado from `basedosdados-staging.br_bcb_sicor_staging.microdados_liberacao` as t