Skip to content

Commit

Permalink
Ajusta tipo_os das datas 13/09/24 a 15/09/24 e de 19/09/24 a 22/09/24…
Browse files Browse the repository at this point in the history
… para Rock in Rio (#264)

* ajusta tipo_os das datas 13/09/24, 14/09/24, 15/09/24, 19/09/24, 20/09/24, 21/09/24 e 22/09/24 para Rock in Rio

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

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

* atualiza changelog

* corrige changelog

* adiciona tipo_os 'Verão + Rock in Rio'

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 9, 2024
1 parent e440773 commit fee7927
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion queries/models/projeto_subsidio_sppo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Changelog - projeto_subsidio_sppo

## [9.0.4] - 2024-10-08
## [9.0.5] - 2024-10-08

### Corrigido

- Corrigido a duplicação de viagens no modelo `viagens_planejadas` (https://github.com/prefeitura-rio/pipelines_rj_smtr/pull/266)

## [9.0.4] - 2024-10-07

### Alterado

- Alterados os tipo_os de `13/09/24` a `15/09/24` e `19/09/24` a `22/09/24` para `Rock in Rio` (https://github.com/prefeitura-rio/pipelines_rj_smtr/pull/264)

## [9.0.3] - 2024-09-23

### Alterado
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,9 @@ WITH
WHEN data = DATE(2024,05,04) THEN "Madonna 2024-05-04"
WHEN data = DATE(2024,05,05) THEN "Madonna 2024-05-05"
WHEN data = DATE(2024,08,18) THEN "CNU" -- Processo.Rio MTR-PRO-2024/13252
WHEN data = DATE(2024,09,14) THEN "Extraordinária - Verão" -- Processo.Rio
WHEN data = DATE(2024,09,15) THEN "Extraordinária - Verão" -- Processo.Rio
WHEN data = DATE(2024,09,13) THEN "Rock in Rio"
WHEN data BETWEEN DATE(2024,09,14) AND DATE(2024,09,15) THEN "Verão + Rock in Rio"
WHEN data BETWEEN DATE(2024,09,19) AND DATE(2024,09,22) THEN "Rock in Rio"
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 fee7927

Please sign in to comment.