Skip to content

Commit

Permalink
altera tecnologia_servico para source
Browse files Browse the repository at this point in the history
  • Loading branch information
akaBotelho committed Jan 21, 2025
1 parent 4eaa454 commit 7ce053d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion queries/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ vars:
subsidio_shapes: "`rj-smtr-staging.projeto_subsidio_sppo_staging.shapes`"
subsidio_trips: "`rj-smtr-staging.projeto_subsidio_sppo_staging.trips`"
subsidio_parametros: "`rj-smtr-staging.dashboard_subsidio_sppo_staging.subsidio_parametros`"
tecnologia_servico: "rj-smtr.planejamento.tecnologia_servico"
shapes_version: "YYYY-MM-DD"
frequencies_version: "YYYY-MM-DD"
tipo_materializacao: "subsidio"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ with
then "PADRON"
else null
end as menor_tecnologia_permitida,
from {{ var("tecnologia_servico") }}
from {{ source("planejamento", "tecnologia_servico") }}
),
prioridade_tecnologia as (
select "MINI" as tecnologia, 1 as prioridade
Expand Down
8 changes: 7 additions & 1 deletion queries/models/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,10 @@ sources:
database: rj-smtr

tables:
- name: valor_km_tipo_viagem
- name: valor_km_tipo_viagem

- name: planejamento
database: rj-smtr

tables:
- name: tecnologia_servico

0 comments on commit 7ce053d

Please sign in to comment.