Skip to content

Commit

Permalink
Merge pull request #423 from basedosdados/staging/update_cnes
Browse files Browse the repository at this point in the history
[dbt] br_ms_cnes
  • Loading branch information
folhesgabriel authored Feb 9, 2024
2 parents a798525 + 3018eb4 commit 9055b1b
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='dados_complementares'
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='equipamento',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='equipe',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='estabelecimento',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='estabelecimento_ensino',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='estabelecimento_filantropico',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='gestao_metas',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='habilitacao',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='incentivos',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='leito',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='profissional',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{
config(
schema='br_ms_cnes',
alias='regra_contratual',
materialized='incremental',
partition_by={
"field": "ano",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{{
config(
schema='br_ms_cnes',
alias='regra_contratual',
materialized='incremental',
partition_by={
"field": "ano",
"data_type": "int64",
"range": {
"start": 2005,
"end": 2023,
"end": 2024,
"interval": 1}
},
pre_hook = "DROP ALL ROW ACCESS POLICIES ON {{ this }}",
Expand Down

0 comments on commit 9055b1b

Please sign in to comment.