diff --git a/pipelines/migration/projeto_subsidio_sppo/flows.py b/pipelines/migration/projeto_subsidio_sppo/flows.py index f49a4118..fd4b588e 100644 --- a/pipelines/migration/projeto_subsidio_sppo/flows.py +++ b/pipelines/migration/projeto_subsidio_sppo/flows.py @@ -3,7 +3,7 @@ """ Flows for projeto_subsidio_sppo -DBT: 2024-10-16 +DBT: 2024-10-16 """ from prefect import Parameter, case, task diff --git a/queries/models/dashboard_subsidio_sppo/sumario_servico_dia_historico.sql b/queries/models/dashboard_subsidio_sppo/sumario_servico_dia_historico.sql index 561a436e..fe983bbb 100644 --- a/queries/models/dashboard_subsidio_sppo/sumario_servico_dia_historico.sql +++ b/queries/models/dashboard_subsidio_sppo/sumario_servico_dia_historico.sql @@ -17,8 +17,8 @@ WITH {{ ref("viagem_planejada") }} AS v -- `rj-smtr`.`projeto_subsidio_sppo`.`viagem_planejada` AS v LEFT JOIN - {{ ref("subsidio_data_versao_efetiva") }} - -- rj-smtr.projeto_subsidio_sppo.subsidio_data_versao_efetiva + {{ ref("subsidio_data_versao_efetiva") }} AS sdve + -- rj-smtr.projeto_subsidio_sppo.subsidio_data_versao_efetiva AS sdve USING (data) LEFT JOIN