Skip to content

Commit

Permalink
Merge branch 'main' into staging/migra-captura-manual-gtfs
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 17, 2024
2 parents 8809424 + b8a6119 commit 687749c
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_bilhetagem/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Flows for br_rj_riodejaneiro_bilhetagem
DBT: 2024-07-17
DBT: 2024-07-17 2
"""

from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion queries/models/validacao_dados_jae/integracao_invalida.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ integracao_agg AS (
MIN(intervalo_integracao) AS menor_intervalo
FROM
{{ ref("integracao") }}
WHERE
{% if is_incremental() %}
WHERE
{% if partition_list|length > 0 %}
data IN ({{ partition_list|join(', ') }})
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion queries/models/validacao_dados_jae/transacao_invalida.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ WITH transacao AS (
ON
t.id_servico_jae = s.id_servico_jae
AND t.data >= s.data_inicio_vigencia AND (t.data <= s.data_fim_vigencia OR s.data_fim_vigencia IS NULL)
WHERE
{% if is_incremental() %}
WHERE
{% if partition_list|length > 0 %}
data IN ({{ partition_list|join(', ') }})
{% else %}
Expand Down

0 comments on commit 687749c

Please sign in to comment.