Skip to content

Commit

Permalink
Merge pull request #717 from basedosdados/staging/comex
Browse files Browse the repository at this point in the history
[fix] br_me_comex
  • Loading branch information
folhesgabriel authored Aug 1, 2024
2 parents 9005107 + e33b515 commit cede209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
18 changes: 0 additions & 18 deletions models/br_me_comex_stat/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ models:
- id_pais
- sigla_uf
- id_municipio
- not_null_proportion_multiple_columns:
at_least: 0.05
config:
where: __most_recent_year_month__
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -68,10 +64,6 @@ models:
- id_municipio
config:
where: __most_recent_year_month__
- not_null_proportion_multiple_columns:
at_least: 0.05
config:
where: __most_recent_year_month__
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -124,10 +116,6 @@ models:
- id_urf
config:
where: __most_recent_year_month__
- not_null_proportion_multiple_columns:
at_least: 0.05
config:
where: __most_recent_year_month__
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -189,10 +177,6 @@ models:
- id_urf
config:
where: __most_recent_year_month__
- not_null_proportion_multiple_columns:
at_least: 0.05
config:
where: __most_recent_year_month__
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -247,8 +231,6 @@ models:
- nome_coluna
- chave
- cobertura_temporal
- not_null_proportion_multiple_columns:
at_least: 0.05
columns:
- name: id_tabela
description: ID da tabela
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
)
}}


select
safe_cast(ano as int64) ano,
safe_cast(sigla_uf as string) sigla_uf,
Expand All @@ -22,4 +23,4 @@ select
safe_cast(id_conta_bd as string) id_conta_bd,
safe_cast(conta_bd as string) conta_bd,
safe_cast(valor as float64) valor
from `basedosdados-staging.br_me_siconfi_staging.municipio_despesas_funcao` as t
from `basedosdados-staging.br_me_siconfi_staging.municipio_despesas_funcao` as t

0 comments on commit cede209

Please sign in to comment.