From e9a2016fd91d86441ba887499ea3bf19b4c2dc5a Mon Sep 17 00:00:00 2001 From: Rodrigo Cunha <66736583+eng-rodrigocunha@users.noreply.github.com> Date: Wed, 22 May 2024 10:36:51 -0300 Subject: [PATCH] [gtfs] Altera constante `GTFS_TABLE_CAPTURE_PARAMS` (#690) * commit inicial * Atualiza changelog * Atualiza changelog * Atualiza changelog * Reverte enriquecimento de logs da task `get_raw_from_sources` * Corrige E226 * Altera constante `GTFS_TABLE_CAPTURE_PARAMS` * Atualiza changelog * Atualiza changelog --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- pipelines/rj_smtr/CHANGELOG.md | 7 +++++++ pipelines/rj_smtr/constants.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pipelines/rj_smtr/CHANGELOG.md b/pipelines/rj_smtr/CHANGELOG.md index 14016a4d7..3c003d919 100644 --- a/pipelines/rj_smtr/CHANGELOG.md +++ b/pipelines/rj_smtr/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog - rj_smtr +## [1.0.1] - 2024-05-22 + +### Alterado + +- Altera `primary_key` da constante `GTFS_TABLE_CAPTURE_PARAMS` relativa a `ordem_servico_trajeto_alternativo` (https://github.com/prefeitura-rio/pipelines/pull/690) + ## [1.0.0] - 2024-05-21 ### Alterado @@ -8,4 +14,5 @@ - Altera constantes e parâmetros de captura e materialização relacionados aos flows `br_rj_riodejaneiro_gtfs` (https://github.com/prefeitura-rio/pipelines/pull/687) ### Corrigido + - Corrige erro `pipelines/rj_smtr/tasks.py:116:64: E226 missing whitespace around arithmetic operator` na task `build_incremental_model` (https://github.com/prefeitura-rio/pipelines/pull/687) \ No newline at end of file diff --git a/pipelines/rj_smtr/constants.py b/pipelines/rj_smtr/constants.py index 8f6689f56..5d3ec40ac 100644 --- a/pipelines/rj_smtr/constants.py +++ b/pipelines/rj_smtr/constants.py @@ -1351,7 +1351,7 @@ class constants(Enum): # pylint: disable=c0103 }, { "table_id": "ordem_servico_trajeto_alternativo", - "primary_key": ["servico", "tipo_os"], + "primary_key": ["servico", "tipo_os", "evento"], "extract_params": {"filename": "ordem_servico_trajeto_alternativo"}, }, {