Skip to content

Commit

Permalink
remove extra columns
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-l-amaral committed Feb 9, 2024
1 parent ffa0ded commit 4e63359
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions models/br_tse_eleicoes/br_tse_eleicoes__candidatos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ SAFE_CAST(sigla_uf_nascimento AS STRING) sigla_uf_nascimento,
SAFE_CAST(municipio_nascimento AS STRING) municipio_nascimento,
SAFE_CAST(email AS STRING) email,
SAFE_CAST(raca AS STRING) raca,
SAFE_CAST(situacao_totalizacao AS STRING) situacao_totalizacao,
SAFE_CAST(numero_federacao AS STRING) numero_federacao,
SAFE_CAST(nome_federacao AS STRING) nome_federacao,
SAFE_CAST(sigla_federacao AS STRING) sigla_federacao,
SAFE_CAST(composicao_federacao AS STRING) composicao_federacao,
CASE
WHEN prestou_contas='N' THEN 'Não'
WHEN prestou_contas='S' THEN 'Sim'
END AS prestou_contas
-- SAFE_CAST(situacao_totalizacao AS STRING) situacao_totalizacao,
-- SAFE_CAST(numero_federacao AS STRING) numero_federacao,
-- SAFE_CAST(nome_federacao AS STRING) nome_federacao,
-- SAFE_CAST(sigla_federacao AS STRING) sigla_federacao,
-- SAFE_CAST(composicao_federacao AS STRING) composicao_federacao,
-- CASE
-- WHEN prestou_contas='N' THEN 'Nao'
-- WHEN prestou_contas='S' THEN 'Sim'
-- END AS prestou_contas
FROM basedosdados-staging.br_tse_eleicoes_staging.candidatos AS t

0 comments on commit 4e63359

Please sign in to comment.