Skip to content

Commit

Permalink
feat: add minha saude mongodb models
Browse files Browse the repository at this point in the history
  • Loading branch information
TanookiVerde committed Feb 19, 2025
1 parent 5bb8f65 commit 880bb2b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ models:
dado_publico: sim
dado_pessoal: nao
dado_sensivel: nao
minhasaude_mongodb:
+schema: brutos_minhasaude_mongodb
+tags: ["daily", "minhasaude"]
+labels:
dado_publico: nao
dado_pessoal: sim
dado_sensivel: sim
ergon:
+schema: brutos_ergon
+tags: ["daily", "ergon"]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

sources:
- name: brutos_minhasaude_mongodb_staging
database: rj-sms
schema: brutos_minhasaude_mongodb_staging
tables:
- name: modulos_perfil_acessos
- name: perfil_acessos
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ config(alias="modulos_perfil_acessos") }}


with
source as (
select *
from
{{
source(
"brutos_minhasaude_mongodb_staging", "modulos_perfil_acessos"
)
}}
)
select *
from source
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ config(alias="perfil_acessos") }}


with
source as (
select *
from
{{
source(
"brutos_minhasaude_mongodb_staging", "perfil_acessos"
)
}}
)
select *
from source

0 comments on commit 880bb2b

Please sign in to comment.