diff --git a/models/br_ibge_pnadc/br_ibge_pnadc__dicionario.sql b/models/br_ibge_pnadc/br_ibge_pnadc__dicionario.sql index ee89fda3..d291b721 100644 --- a/models/br_ibge_pnadc/br_ibge_pnadc__dicionario.sql +++ b/models/br_ibge_pnadc/br_ibge_pnadc__dicionario.sql @@ -6,6 +6,7 @@ ) }} + SELECT SAFE_CAST(id_tabela AS STRING) id_tabela, SAFE_CAST(nome_coluna AS STRING) nome_coluna, diff --git a/models/br_ibge_pnadc/br_ibge_pnadc__rendimentos_outras_fontes.sql b/models/br_ibge_pnadc/br_ibge_pnadc__rendimentos_outras_fontes.sql index e51aed7d..d7b0e8c3 100644 --- a/models/br_ibge_pnadc/br_ibge_pnadc__rendimentos_outras_fontes.sql +++ b/models/br_ibge_pnadc/br_ibge_pnadc__rendimentos_outras_fontes.sql @@ -53,7 +53,7 @@ SAFE_CAST(V50051 AS STRING) V50051, SAFE_CAST(V500511 AS FLOAT64) V500511, SAFE_CAST(V5006 AS STRING) V5006, SAFE_CAST(V50061 AS STRING) V50061, -SAFE_CAST(V50061 AS FLOAT64) V50061, +SAFE_CAST(V500611 AS FLOAT64) V500611, SAFE_CAST(V5007 AS STRING) V5007, SAFE_CAST(V50071 AS STRING) V50071, SAFE_CAST(V500711 AS FLOAT64) V500711,