From 46137e87809e81a379a741c29f372f2f272aaecf Mon Sep 17 00:00:00 2001 From: Pedro Marques Date: Fri, 25 Oct 2024 14:31:41 -0300 Subject: [PATCH] chore: Update partition column names in datalake models --- app/datalake/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/datalake/models.py b/app/datalake/models.py index ae56f3c..32a8ba2 100644 --- a/app/datalake/models.py +++ b/app/datalake/models.py @@ -110,7 +110,7 @@ class Config: dataset_id = "brutos_plataforma_smsrio" table_id = "paciente_cadastro_eventos" partition_by_date = True - partition_column = "source_updated_at" + partition_column = "datalake_loaded_at" biglake_table = True dataset_is_public = False @@ -204,8 +204,8 @@ class Config: dataset_id = "brutos_prontuario_vitacare" table_id = "paciente_eventos" partition_by_date = True - partition_column = "source_updated_at" - biglake_table = True + partition_column = "datalake_loaded_at" + biglake_table = False dataset_is_public = False @@ -249,6 +249,6 @@ class Config: dataset_id = "brutos_prontuario_vitacare" table_id = "atendimento_eventos" partition_by_date = True - partition_column = "source_updated_at" - biglake_table = True + partition_column = "datalake_loaded_at" + biglake_table = False dataset_is_public = False