Skip to content

Commit

Permalink
HOTFIX - Remove pernas nulas na validação de integração da Jaé (#159)
Browse files Browse the repository at this point in the history
* cria query integracao

* correcoes

* filtra integracoes

* corrige id_integracao

* add integracao_nao_realizada

* registra flows

* add changelog

* corrige integracao_nao_realizada

* prepara para prod

* remove coluna não utilizada

* altera filtro

* ajustes sintaxe

* add docs

* remove pernas nulas

* registra flows

* link pr

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 21, 2024
1 parent c910e80 commit 1a52c2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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-08-21
DBT: 2024-08-21 2
"""

from copy import deepcopy
Expand Down
5 changes: 5 additions & 0 deletions queries/models/validacao_dados_jae/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog - validacao_dados_jae

## [1.1.1] - 2024-08-21

### Corrigido
- Remove pernas nulas no modelo `integracao_nao_realizada.sql` (https://github.com/prefeitura-rio/pipelines_rj_smtr/pull/159)
-
## [1.1.0] - 2024-08-21

### Adicionado
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,5 @@ SELECT
FROM
melted
WHERE
id_integracao IN (SELECT id_integracao FROM integracao_nao_realizada)
id_integracao IN (SELECT id_integracao FROM integracao_nao_realizada)
AND id_transacao IS NOT NULL

0 comments on commit 1a52c2e

Please sign in to comment.