Skip to content

Commit

Permalink
Altera o tipo_os para verao (#365)
Browse files Browse the repository at this point in the history
* altera o tipo os para verao

* atualiza chngelog
  • Loading branch information
vtr363 authored Dec 18, 2024
1 parent b9ce953 commit 03bdbd9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/migration/projeto_subsidio_sppo/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Flows for projeto_subsidio_sppo
DBT: 2024-12-13
DBT: 2024-12-18
"""

from prefect import Parameter, case, task
Expand Down
6 changes: 6 additions & 0 deletions queries/models/projeto_subsidio_sppo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog - projeto_subsidio_sppo

## [9.1.2] - 2024-12-18

### Alterado

- Alterado o tipo os de `2024-12-07`, `2024-12-08`, `2024-12-14` e `2024-12-15` para `Extraordinária - Verão` no modelo `subsidio_data_versao_efetiva.sql` (https://github.com/prefeitura-rio/pipelines_rj_smtr/pull/365)

## [9.1.1] - 2024-12-13

### Adicionado
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ WITH
WHEN data = DATE(2024,11,03) THEN "Enem"
WHEN data = DATE(2024,11,10) THEN "Enem"
WHEN data = DATE(2024,11,24) THEN "Parada LGBTQI+" -- Processo.Rio MTR-DES-2024/70057
WHEN data BETWEEN DATE(2024,12,07) AND DATE(2024,12,08) THEN "Extraordinária - Verão" -- Processo.Rio MTR-DES-2024/72800
WHEN data BETWEEN DATE(2024,12,14) AND DATE(2024,12,15) THEN "Extraordinária - Verão" -- Processo.Rio MTR-DES-2024/74396
ELSE "Regular"
END AS tipo_os,
FROM UNNEST(GENERATE_DATE_ARRAY("{{var('DATA_SUBSIDIO_V6_INICIO')}}", "2024-12-31")) AS data),
Expand Down

0 comments on commit 03bdbd9

Please sign in to comment.