Skip to content

Commit

Permalink
feat: add macro and modify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
folhesgabriel committed Apr 17, 2024
1 parent d6d44a2 commit 495088b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions models/br_bcb_estban/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ models:
description: Sigla da Unidade da Federação
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: id_municipio
Expand All @@ -37,15 +37,15 @@ models:
config:
where: __most_recent_year_month__
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: cnpj_basico
description: Cadastro Nacional de Pessoa Jurídica (CNPJ) básico (8 primeiros
dígitos)
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- relationships:
Expand All @@ -63,7 +63,7 @@ models:
description: Código do verbete
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: valor
Expand Down Expand Up @@ -92,7 +92,7 @@ models:
description: Sigla da Unidade da Federação
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: id_municipio
Expand All @@ -104,7 +104,7 @@ models:
config:
where: __most_recent_year_month__
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: cnpj_basico
Expand All @@ -116,7 +116,7 @@ models:
description: CNPJ da agência bancária
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- relationships:
Expand All @@ -128,7 +128,7 @@ models:
description: Código do verbete
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
at_least: 0.01
config:
where: __most_recent_year_month__
- name: valor
Expand Down

0 comments on commit 495088b

Please sign in to comment.