Skip to content

Commit

Permalink
altera refs
Browse files Browse the repository at this point in the history
  • Loading branch information
akaBotelho committed Aug 8, 2024
1 parent e11fc21 commit acb7151
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pipelines/migration/br_rj_riodejaneiro_onibus_gps/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Flows for br_rj_riodejaneiro_onibus_gps
DBT: 2024-08-07
DBT 2024-08-07
"""

from copy import deepcopy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ realocacao as (
FROM
gps g
LEFT JOIN
{{ ref('sppo_aux_registros_realocacao' ~ var('fifteen_minutes')) }} r
{{ ref('sppo_aux_registros_realocacao') }} r
ON
g.ordem = r.id_veiculo
and g.timestamp_gps = r.timestamp_gps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ WITH
linha,
latitude,
longitude,
FROM {{ ref('sppo_aux_registros_filtrada' ~ var('fifteen_minutes')) }}
FROM {{ ref('sppo_aux_registros_filtrada') }}
WHERE
-- data between DATE("{{var('date_range_start')}}") and DATE("{{var('date_range_end')}}")
-- AND timestamp_gps > "{{var('date_range_start')}}" and timestamp_gps <="{{var('date_range_end')}}"
Expand Down

0 comments on commit acb7151

Please sign in to comment.