Skip to content

Commit

Permalink
Fix Query ITR
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-ls authored and Winzen committed Nov 22, 2024
1 parent 71e8560 commit 3569682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/br_rf_arrecadacao/br_rf_arrecadacao__itr.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ select
safe_cast(itr.sigla_uf as string) sigla_uf,
safe_cast(m.id_municipio as string) id_municipio,
safe_cast(itr.valor_arrecadado as float64) valor_arrecadado,
from `basedosdados-dev.br_rf_arrecadacao_staging.itr` itr
from `basedosdados-staging.br_rf_arrecadacao_staging.itr` itr
left join
`basedosdados-dev.br_bd_diretorios_brasil.municipio` m
`basedosdados-staging.br_bd_diretorios_brasil.municipio` m
on itr.cidade = m.nome
and itr.sigla_uf = m.sigla_uf

0 comments on commit 3569682

Please sign in to comment.