Skip to content

Commit

Permalink
[HOTFIX] ordem_servico_sentido_atualizado_aux_gtfs (#225)
Browse files Browse the repository at this point in the history
* commit inicial

* fix treatment

* Altera flow

* Incorpora changelog

* ajusta changelog

* atualiza changelog

* hotfix ordem_servico_sentido_atualizado_aux_gtfs

* altera flow

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
eng-rodrigocunha and mergify[bot] committed Sep 13, 2024
1 parent f448d9c commit 2613215
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pipelines/migration/br_rj_riodejaneiro_gtfs/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Flows for gtfs
DBT: 2024-09-13
DBT 2024-09-13
"""

from prefect import Parameter, case, task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ LEFT JOIN
USING
(feed_version, servico)
WHERE
distancia_planejada != 0
AND
(
(
feed_start_date < '{{ var("DATA_SUBSIDIO_V9_INICIO") }}'
AND
(
distancia_planejada != 0
AND distancia_total_planejada != 0
distancia_total_planejada != 0
AND (partidas != 0 OR partidas IS NULL)
)
)
Expand Down

0 comments on commit 2613215

Please sign in to comment.